New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Node Library Error: Data type is not supported TIME
#3344
Comments
Indeed we should probably get all the types supported for node. What would you like to get on the node side for a |
Good question. I think there are probably three options:
I went ahead and asked in a Twitter poll to get a sense of what the node.js / data tools community might expect. We can take the results of that with a grain of salt of course :) I have no preference between these three choices. I already submitted a PR a few months ago to convert |
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 30 days. |
This issue was closed because it has been stale for 30 days with no activity. |
What happens?
When I attempt to select a
TIME
, duckdb throws the error:Probably straightforward to add; just need to add a case statement for
duckdb:LogicalTypeId::TIME
to this part ofstatement.cpp
.Any helpful hints on what the
TIME
value is under the hood would be much appreciated. I suspect its just microseconds. If so, I think it would probably make sense to just return an integer representing the microseconds since there isn't really anything comparable toTIME
in ECMAscript.To Reproduce
Grab the node library and write a query for
SELECT current_time;
and you should receive an error:Environment (please complete the following information):
Before Submitting
master
branch?pip install duckdb --upgrade --pre
install.packages("https://github.com/duckdb/duckdb/releases/download/master-builds/duckdb_r_src.tar.gz", repos = NULL)
The text was updated successfully, but these errors were encountered: