You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am not sure if I'm just holding it wrong, but I am trying to test some substrait roundtripping and wanted to use Ibis to generate some json serialized substrait plans.
File "/opt/homebrew/lib/python3.10/site-packages/ibis_substrait/compiler/core.py", line 75, in function_id
op_name = IBIS_SUBSTRAIT_OP_MAPPING[op_type.__name__]
KeyError: 'ExtractHour'
What version of ibis-substrait are you using?
>>> ibis_substrait.__version__
'2.22.0'
What substrait consumer(s) are you using, if any?
Relevant log output
Traceback (most recent call last):
File "ibis_extract.py", line 23, in<module>
proto = compiler.compile(expr)
File "/opt/homebrew/lib/python3.10/site-packages/ibis_substrait/compiler/core.py", line 96, in compile
input=translate(expr.op(), expr=expr, compiler=self, **kwargs),
File "/opt/homebrew/Cellar/[email protected]/3.10.8/Frameworks/Python.framework/Versions/3.10/lib/python3.10/functools.py", line 889, in wrapper
return dispatch(args[0].__class__)(*args, **kw)
File "/opt/homebrew/lib/python3.10/site-packages/ibis_substrait/compiler/translate.py", line 824, in selection
expressions=[
File "/opt/homebrew/lib/python3.10/site-packages/ibis_substrait/compiler/translate.py", line 825, in<listcomp>
translate(
File "/opt/homebrew/Cellar/[email protected]/3.10.8/Frameworks/Python.framework/Versions/3.10/lib/python3.10/functools.py", line 889, in wrapper
return dispatch(args[0].__class__)(*args, **kw)
File "/opt/homebrew/lib/python3.10/site-packages/ibis_substrait/compiler/translate.py", line 236, in _expr
returntranslate(expr.op(), expr, compiler=compiler, **kwargs)
File "/opt/homebrew/Cellar/[email protected]/3.10.8/Frameworks/Python.framework/Versions/3.10/lib/python3.10/functools.py", line 889, in wrapper
return dispatch(args[0].__class__)(*args, **kw)
File "/opt/homebrew/lib/python3.10/site-packages/ibis_substrait/compiler/translate.py", line 524, in value_op
function_reference=compiler.function_id(expr=expr),
File "/opt/homebrew/lib/python3.10/site-packages/ibis_substrait/compiler/core.py", line 75, in function_id
op_name = IBIS_SUBSTRAIT_OP_MAPPING[op_type.__name__]
KeyError: 'ExtractHour'
The text was updated successfully, but these errors were encountered:
What happened?
I am not sure if I'm just holding it wrong, but I am trying to test some substrait roundtripping and wanted to use Ibis to generate some json serialized substrait plans.
I ran the following code:
And I ran into an exception:
What version of ibis-substrait are you using?
What substrait consumer(s) are you using, if any?
Relevant log output
The text was updated successfully, but these errors were encountered: