-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Run datafusion-examples
when start CI
#8018
Comments
cc @alamb let me know what you think. Thanks |
This sounds like a good idea to me, but will take a little work in at least one case... The example showing writing to S3 won't work in CI out of the box since it requires specifying a bucket and credentials with write access. Public write access is not appropriate here, so we would need a set up to securely pass creds to the ci pipeline. We could also just skip this one example. |
Yes, I also think I should skip these tests that rely on external storage. |
Another option would be to use crate features -- and have two new features like |
Sounds great! I try the way you said, but it seems fail. It throw
I don’t know if I understand what you mean. I added the feature to the test class dataframe-to-s3.rs. like this:
It couldn't find the specific runtime. I was wondering if I need to encapsulate some logic into a method and then define the feature on this method. |
Is your feature request related to a problem or challenge?
Currently, we have not verified the accuracy of the test classes in the datafusion-example directory, so we should test it while running ci. Reduce the probability of coding errors
Describe the solution you'd like
The current idea may be relatively simple. I will create two directories, one named external_storage and one named flight_sql. External_storage will contain test cases that require external storage, and flight_sql will contain flight-related test cases. When I run my tests I skip these two directories.
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: