-
Notifications
You must be signed in to change notification settings - Fork 16
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
Snowflake Loader: auto-configure staging location paths #1059
Comments
Think only caveat for this is that to be deterministic the |
The loader can pick from the array the location that matches the location from the sqs message. Re being "non-deterministic" -- are you referring to the case where files with the same name are found as sub-paths of multiple locations in the array? That's an interesting case that I had not thought of before. But... I believe the same problem exists even if we provide the name and location in the hocon file; so we don't make it any worse by switching to this different method. |
Very true - just more complicated logic was all I was thinking about!
I guess in this case you could pick the most specific path? Agreed it doesn't make it worse just wanted to flag it was an array of paths so that case needs to be handled. |
Type of the |
Currently, to use a staging location with the snowflake loader, you need to provide both a name and a path in the hocon file.
But we could reduce this down to just providing the name. The loader could lookup the location for itself using:
The text was updated successfully, but these errors were encountered: