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
Hi everyone, I'm trying to import a JSON file using the insertJSONFromPath method but a JSON column got insert as STRUCT (key-a VARCHAR), is there a way to pre-define the columns' type? I found in insertJSONFromPath option parameter (JSONInsertOptions) we have columns but it's not working (I've checked the source code and see that the columns will be overrode by columnsFlat)?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi everyone, I'm trying to import a JSON file using the
insertJSONFromPath
method but a JSON column got insert as STRUCT (key-a VARCHAR), is there a way to pre-define the columns' type? I found ininsertJSONFromPath
option parameter (JSONInsertOptions) we havecolumns
but it's not working (I've checked the source code and see that thecolumns
will be overrode bycolumnsFlat
)?Beta Was this translation helpful? Give feedback.
All reactions