PHOENIX-6484 Python phoenixdb throws error on empty resultsets with a…#66
Closed
stoty wants to merge 1 commit intoapache:masterfrom
Closed
PHOENIX-6484 Python phoenixdb throws error on empty resultsets with a…#66stoty wants to merge 1 commit intoapache:masterfrom
stoty wants to merge 1 commit intoapache:masterfrom
Conversation
romainr
approved these changes
May 31, 2021
romainr
left a comment
There was a problem hiding this comment.
Nice!
No more
Traceback (most recent call last):
File "/usr/share/hue/desktop/libs/notebook/src/notebook/connectors/sql_alchemy.py", line 100, in decorator
return func(*args, **kwargs)
File "/usr/share/hue/desktop/libs/notebook/src/notebook/connectors/sql_alchemy.py", line 253, in execute
result = connection.execute(statement)
File "/usr/share/hue/build/env/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 982, in execute
return self._execute_text(object_, multiparams, params)
File "/usr/share/hue/build/env/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1155, in _execute_text
parameters,
File "/usr/share/hue/build/env/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1253, in _execute_context
e, statement, parameters, cursor, context
File "/usr/share/hue/build/env/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1475, in _handle_dbapi_exception
util.reraise(*exc_info)
File "/usr/share/hue/build/env/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 153, in reraise
raise value
File "/usr/share/hue/build/env/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/usr/share/hue/build/env/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 552, in do_execute
cursor.execute(statement, parameters)
File "/usr/share/hue/build/env/lib/python3.6/site-packages/phoenixdb/cursor.py", line 228, in execute
self._set_signature(statement.signature)
File "/usr/share/hue/build/env/lib/python3.6/site-packages/phoenixdb/cursor.py", line 141, in _set_signature
dtype = TypeHelper.from_column(column)
File "/usr/share/hue/build/env/lib/python3.6/site-packages/phoenixdb/types.py", line 294, in from_column
return TypeHelper._from_jdbc(column.type.component.id)
File "/usr/share/hue/build/env/lib/python3.6/site-packages/phoenixdb/types.py", line 302, in _from_jdbc
raise NotImplementedError('JDBC TYPE CODE {} is not supported'.format(jdbc_code))
NotImplementedError: JDBC TYPE CODE 2000 is not supported
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

…rray types