Skip to content

Commit

Permalink
Fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
abloom committed Apr 23, 2024
1 parent 11aa599 commit cd158b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pinotdb/sqlalchemy.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def visit_REAL(self, type_, **kwargs):
return "DOUBLE"

def visit_NUMERIC(self, type_, **kwargs):
return "LONG"
return "NUMERIC"

visit_DECIMAL = visit_NUMERIC
visit_INTEGER = visit_NUMERIC
Expand All @@ -69,7 +69,7 @@ def visit_NUMERIC(self, type_, **kwargs):
visit_DATE = visit_NUMERIC

def visit_CHAR(self, type_, **kwargs):
return "STRING"
return "VARCHAR"

visit_NCHAR = visit_CHAR
visit_VARCHAR = visit_CHAR
Expand Down

0 comments on commit cd158b2

Please sign in to comment.