chore: Add hdfs feature test job#2350
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2350 +/- ##
============================================
+ Coverage 56.12% 57.44% +1.31%
- Complexity 976 1297 +321
============================================
Files 119 147 +28
Lines 11743 13418 +1675
Branches 2251 2349 +98
============================================
+ Hits 6591 7708 +1117
- Misses 4012 4447 +435
- Partials 1140 1263 +123 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
eefa69f to
1aa1d47
Compare
| with: | ||
| artifact_name: ${{ matrix.os }}-java-${{ matrix.java_version }}-features-${{ matrix.features.value }}-${{ github.run_id }}-${{ github.run_number }}-${{ github.run_attempt }} | ||
| features: ${{ matrix.features.value }} | ||
| maven_opts: "-Dtest=none -Dfeatures=${{ matrix.features.value }}" |
There was a problem hiding this comment.
-Dtest=none skip java tests
| } | ||
|
|
||
| def featureEnabled(feature: String): Boolean = { | ||
| System.getProperty("feature", "").split(",").contains(feature) |
|
@parthchandra Could you please take a look? |
| { | ||
| val testFilePath = dir.toString | ||
| writeTestParquetFile(testFilePath) | ||
| withSQLConf(CometConf.COMET_NATIVE_SCAN_IMPL.key -> CometConf.SCAN_NATIVE_DATAFUSION) { |
There was a problem hiding this comment.
IMO we also should check native_iceberg_compat`
There was a problem hiding this comment.
Thanks, I will add native_iceberg_compat mode
| } | ||
|
|
||
| ignore("test native_datafusion scan on fake fs") { | ||
| test("test native_datafusion scan on fake fs") { |
There was a problem hiding this comment.
should we also test hdfs feature and native_iceberg_compat mode?
There was a problem hiding this comment.
should we also test
hdfsfeature
hdfs feature does not seem to support non-hdfs scheme yet, as comment #2360 (comment) .
datafusion-comet/native/fs-hdfs/src/hdfs.rs
Lines 844 to 865 in 72eb0e9
There was a problem hiding this comment.
That's one of the fixes we wanted in fs-hdfs datafusion-contrib/fs-hdfs#29
There was a problem hiding this comment.
Also, I think at some point it might be more reasonable to use openDAL instead of fs-hdfs (#2367)
| } | ||
|
|
||
| ignore("test native_datafusion scan on fake fs") { | ||
| test("test native_datafusion scan on fake fs") { |
There was a problem hiding this comment.
Also, I think at some point it might be more reasonable to use openDAL instead of fs-hdfs (#2367)
|
oops. Yes, I did mean #2372. Let's get that merged and update the test in this PR. |
|
Should we also be adding the test suites to pr_build_macos.yml ? |
Thanks, I will add it |
|
Looks like a related failure https://github.com/apache/datafusion-comet/actions/runs/17752053952/job/50448541640?pr=2350, but I can't reproduce it, filed an issue #2400. |
|
I tried this PR earlier along with #2372 and did not see this failure either. I'll try again to see if I can reproduce it. |
|
Thank you for your contribution. Unfortunately, this pull request is stale because it has been open 60 days with no activity. Please remove the stale label or comment or this will be closed in 7 days. |
Which issue does this PR close?
Closes #.
Rationale for this change
What changes are included in this PR?
How are these changes tested?