-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
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
One option missing in Excelerator For Snowflake #13
Comments
@z05794 Due to some complications we removed this feature. |
Hi, Is it complex to add this functionality back in? For me it is a nice to have, which saves me profiling the dataset. I have a some large files and it is not obvious what the ideal datatype is without profiling... which I might use Power Query to detect types. Are you able to suggest data types and populate the first row drop downs? Thanks. |
@TonyGaul Sorry for delay. Yes, it's quite complex because the entire upload process is different when we use that feature. |
@ssegal100 Thanks. Even if it is something as simple as macro code showing basic stats for each column on a new blank row e.g. MIN value, MAX value, MAX length, MAX decimal places. I can then choose an appropriate data type. I had a dataset with 100k+ rows and thought a couple of fields were whole numbers, but after the import failed, I discovered a couple of random text values in the columns. I think basic stats would give me more confidence in setting the data types. |
@ssegal100 I did give this some thought and attempted something which leverages Excel functions and your VBA. Just an idea anyway and probably should be beautified, maybe have its own button, perhaps less restrictive data types added (like Text instead of Varchar(n) ) & tested. So I've modified 2 sub routines and added 1 function. The data type logic & profiling will run when the Define Data Types button is pressed: Sub AddDataTypeDropDowns()
End Sub Function CellType(Rng) in Sub uploadData I just added a 3 lines in this section to remove the new profiling rows before uploading
|
@TonyGaul Thank you! |
Please advise why I don't have the last option -- "Auto-generate data types when not specified for new columns or a new table " Stored Procedures needed". Thank you!
The text was updated successfully, but these errors were encountered: