Last option is missing -- "Auto-generate data types when not specified for new columns or a new table " Stored Procedures needed".
Closed this issue · 13 comments
I am missing the 3rd check box under advanced options:
"Auto-generate data types when not specified for new columns or a new table " Stored Procedures needed".
I am using the most recent SnowflakeExcelAddin.xlam (1/22/21) x64 add in
Thanks
@schenjgc Due to some complications we removed this feature.
Is it something that would be important to you? The other way of loading new columns would be to explicitly set the datatype.
I'd like to get a understanding of the value it would add to help determine if we should work at enabling it.
Thanks!
Steve
when I try creating a new table I get the error:
Error executing SQL: SQL compilation error:
Object 'DEMO_DB.PUBLIC.EXAMPLE' does not exist or not authorized
Did you check the 'Create new table and upload' checkbox at the bottom of the page?
I think I might have found the issue. Let me test it and I'll let you know soon.
@schenjgc I resolve the issue. Would you please download the latest and test again. Please let me know the results.
Thanks.
Steve
Great, I'll close the issue.
Q: Does the data in excel need to be in a Table format to uplaod?
A: It doesn't need to be an Excel table, but it does need to have the column names in the first row or the second row if you define the columns datatypes for new columns. It can't have any blank columns to the left of the data.
Q:And do inserts without updating the rest of the table take exceptionally long?
A:Updates should be pretty fast. How long are you seeing?
But to answer the question, if you check 'Insert all data...' or 'Replace all data...' it will be faster since it doesn't have to do a merge, which compares every row.
Also, just so you know, you don't have to upload all the columns or all the rows. If columns or rows are missing from the spreadsheet, it will just ignore them, unless you choose the replace option.
Hope this helps.