mirror of
https://github.com/valitydev/redash.git
synced 2024-11-08 09:53:59 +00:00
Fix #1843: Remove deprecated cx_Oracle types
FIXED_UNICODE, LONG_NCHAR, LONG_UNICODE and UNICODE have been removed from cx_Oracle version 5.3 and should be removed from the TYPES_MAP.
This commit is contained in:
parent
1b15ea8af9
commit
7d91e9d173
@ -14,18 +14,14 @@ try:
|
||||
cx_Oracle.LOB: TYPE_STRING,
|
||||
cx_Oracle.FIXED_CHAR: TYPE_STRING,
|
||||
cx_Oracle.FIXED_NCHAR: TYPE_STRING,
|
||||
cx_Oracle.FIXED_UNICODE: TYPE_STRING,
|
||||
cx_Oracle.INTERVAL: TYPE_DATETIME,
|
||||
cx_Oracle.LONG_NCHAR: TYPE_STRING,
|
||||
cx_Oracle.LONG_STRING: TYPE_STRING,
|
||||
cx_Oracle.LONG_UNICODE: TYPE_STRING,
|
||||
cx_Oracle.NATIVE_FLOAT: TYPE_FLOAT,
|
||||
cx_Oracle.NCHAR: TYPE_STRING,
|
||||
cx_Oracle.NUMBER: TYPE_FLOAT,
|
||||
cx_Oracle.ROWID: TYPE_INTEGER,
|
||||
cx_Oracle.STRING: TYPE_STRING,
|
||||
cx_Oracle.TIMESTAMP: TYPE_DATETIME,
|
||||
cx_Oracle.UNICODE: TYPE_STRING,
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user