We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Given:
λ duckdb /tmp/foo.db v1.1.3 19864453f7 Enter ".help" for usage hints. D INSTALL inet; D LOAD inet; D CREATE TABLE foo (ip INET NOT NULL);
Then, with org.duckdb/duckdb_jdbc v1.1.2:
org.duckdb/duckdb_jdbc
Connection db = DriverManager.getConnection("jdbc:duckdb:/tmp/foo.db"); DuckDBAppender appender = DuckDBAppender.createAppender(db, DuckDBConnection.DEFAULT_SCHEMA, "foo"); appender.beginRow(); appender.append("1.2.3.4"); appender.endRow(); appender.close();
I get this error:
Invalid Input Error: Failed to cast value: Type VARCHAR with value '1.2.3.4' can't be cast to the destination type STRUCT
Is it possible to add support for appending to an INET column?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Given:
Then, with
org.duckdb/duckdb_jdbc
v1.1.2:I get this error:
Is it possible to add support for appending to an INET column?
The text was updated successfully, but these errors were encountered: