jayzhan211 commented on code in PR #27531:
URL: https://github.com/apache/datafusion/pull/27531#discussion_r4652386195
##########
xtask/src/ci_steps.rs:
##########
@@ -440,6 +440,19 @@ impl StepContext {
cmd_builder.args(["limit.slt"]);
}
}
+ "unparser" => {
+ cmd_builder.program("cargo").args([
+ "test",
+ "-p",
+ "datafusion-sqllogictest",
+ "--test",
+ "sqllogictests",
+ "--",
Review Comment:
@adriangb thanks for the quick turnaround. This step builds without
`--features substrait`, while the two Substrait steps before it in the same job
build with it. Enabling `substrait` changes `serde_json`'s features, so
switching back recompiles 93 crates (31 of them DataFusion) in that job. Using
the same features reuses the binary. The list already covers that build (it
passes in about 4 s locally), and that build is the one where `imdb.slt`
overflows the stack, so its entry is needed there:
```suggestion
"unparser" => {
// Same features as the Substrait steps, which run in the
same CI
// job, so the job builds the test binary once.
cmd_builder.program("cargo").args([
"test",
"-p",
"datafusion-sqllogictest",
"--test",
"sqllogictests",
"--features",
"substrait",
"--",
```
The snapshot needs the same line:
```diff
--test sqllogictests \
+--features substrait \
-- --unparser-round-trip --unparser-known-failures
unparser_known_failures.txt
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]