Adding upstream version 6.0.4.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
d01130b3f1
commit
527597d2af
122 changed files with 23162 additions and 0 deletions
12
sqlglot/dialects/starrocks.py
Normal file
12
sqlglot/dialects/starrocks.py
Normal file
|
@ -0,0 +1,12 @@
|
|||
from sqlglot import exp
|
||||
from sqlglot.dialects.mysql import MySQL
|
||||
|
||||
|
||||
class StarRocks(MySQL):
|
||||
class Generator(MySQL.Generator):
|
||||
TYPE_MAPPING = {
|
||||
**MySQL.Generator.TYPE_MAPPING,
|
||||
exp.DataType.Type.TEXT: "STRING",
|
||||
exp.DataType.Type.TIMESTAMP: "DATETIME",
|
||||
exp.DataType.Type.TIMESTAMPTZ: "DATETIME",
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue