SAP / sqlalchemy-hana

SQLAlchemy Dialect for SAP HANA

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support SMALLDECIMAL and SHORTTEXT

jarus opened this issue · comments

/opt/virtualenv/lib/python3.7/site-packages/sqlalchemy_hana/dialect.py:410: SAWarning: Did not recognize type 'SMALLDECIMAL' of column 'retry_wait_seconds'
  row[1], column['name']
/opt/virtualenv/lib/python3.7/site-packages/sqlalchemy_hana/dialect.py:410: SAWarning: Did not recognize type 'SMALLDECIMAL' of column 'runtime_seconds'
  row[1], column['name']
/opt/virtualenv/lib/python3.7/site-packages/sqlalchemy_hana/dialect.py:410: SAWarning: Did not recognize type 'SMALLDECIMAL' of column 'elapsed_seconds'
  row[1], column['name']
/opt/virtualenv/lib/python3.7/site-packages/sqlalchemy_hana/dialect.py:410: SAWarning: Did not recognize type 'SMALLDECIMAL' of column 'collect_interval_sec'
  row[1], column['name']
/opt/virtualenv/lib/python3.7/site-packages/sqlalchemy_hana/dialect.py:410: SAWarning: Did not recognize type 'SMALLDECIMAL' of column 'collect_duration_sec'
  row[1], column['name']
/opt/virtualenv/lib/python3.7/site-packages/sqlalchemy_hana/dialect.py:410: SAWarning: Did not recognize type 'SMALLDECIMAL' of column 'refuse_seconds'
  row[1], column['name']

were you able to resolve this issue

commented

We won't support SHORTTEXT, because

  • type is no longer support on SAP HANA Cloud
  • sqlalchemy-hana does not support the TEXT type (a NCLOB is used behind the scenes)