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
BIT
BOOL
When the dbms.name is NetezzaSQL then dbWriteTable should write a logical TRUE/FALSE data column as type BOOL as per this list of supported data types: https://www.ibm.com/docs/en/netezza?topic=vc-data-types-aliases
dbms.name
NetezzaSQL
dbWriteTable
Instead, it seems to be trying to use the BIT datatype, which is not supported by Netezza.
Example:
a = data.frame(Test = runif(100) > 0.5) dbWriteTable(n_con, "TEST_DELETE", a)
results in
Error in `dbWriteTable()`: ! ODBC failed with error HY000 from . ✖ ERROR: transformColumnType: error reading type 'BIT' • <SQL> 'CREATE TABLE "TEST_DELETE" ( • "Test" BIT • ) • '
The text was updated successfully, but these errors were encountered:
Thanks!
Would you be willing, once again to help us test?
https://github.com/detule/odbc/tree/netezza/odbcDataType_bool
Thanks again
Sorry, something went wrong.
Working, thank you!
Successfully merging a pull request may close this issue.
When the
dbms.name
isNetezzaSQL
thendbWriteTable
should write a logical TRUE/FALSE data column as typeBOOL
as per this list of supported data types: https://www.ibm.com/docs/en/netezza?topic=vc-data-types-aliasesInstead, it seems to be trying to use the
BIT
datatype, which is not supported by Netezza.Example:
results in
The text was updated successfully, but these errors were encountered: