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 have a table with a single column(FLOAT[]). I'm trying to insert data using NodeJS as shown below, but get the following error when inserting:
[Error: Conversion Error: Type VARCHAR with value '2.3,2.2' can't be cast to the destination type ARRAY[2], the size of the array must match the destination type] {
errno: -1,
code: 'DUCKDB_NODEJS_ERROR',
errorType: 'Conversion'
}
Looks like the the array is being cast it to an sting. How to can insert the array 🤔 .
I have a table with a single column(FLOAT[]). I'm trying to insert data using NodeJS as shown below, but get the following error when inserting:
[Error: Conversion Error: Type VARCHAR with value '2.3,2.2' can't be cast to the destination type ARRAY[2], the size of the array must match the destination type] {
errno: -1,
code: 'DUCKDB_NODEJS_ERROR',
errorType: 'Conversion'
}
Looks like the the array is being cast it to an sting. How to can insert the array 🤔 .
The text was updated successfully, but these errors were encountered: