Skip to content
Snippets Groups Projects
Verified Commit 8a75383f authored by Denis Smirnov's avatar Denis Smirnov
Browse files

fix: name normalization

The name normalization in Tarantool can be a little bit confusing
because it has two different pipelines: for SQL and for YAML
configuration.
1. SQL allows us to use table and column names with a rule:
   the name in the double quotes is processed "as is" while
   a name without double quotes is transformed to the upper
   case. Here are the examples:

   select * from t .. -> "T"
   select * from T .. -> "T"
   select * from "T" .. -> "T"
   select * from "t" .. -> "t"

   So, the only way to get in Tarantool a name with lowercase
   characters is to wrap it with double quotes.
2. YAML configuration allows us to create distributed tables with
   the following naming convention: the name is always processed
   "as is". For example:

   t -> "t"
   T -> "T"
parent 856ee5c5
No related branches found
No related tags found
1 merge request!1414sbroad import
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment