Skip to content

Conversation

lliangyu-lin
Copy link
Contributor

@lliangyu-lin lliangyu-lin commented Aug 25, 2025

Which issue does this PR close?

What changes are included in this PR?

Are these changes tested?

Yes, through unit tests. Some parts, like parse engines, require integrations and will be tested once engine and catalog support is added as part of the sql logic tests.

Copy link
Contributor

@liurenjie1024 liurenjie1024 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @lliangyu-lin for this pr, LGTM! Just one nit.

Ok(Self::new(engines, steps))
}

pub async fn run(mut self) -> anyhow::Result<()> {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a log about current schedule file?

.ok_or_else(|| anyhow!("Engine {} not found", step.engine))?;

engine
.run_slt_file(&PathBuf::from(step.slt.clone()))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This maybe a potential issue, the file path is relative to testdata dir, but we could fix it later.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lliangyu-lin
Copy link
Contributor Author

lliangyu-lin commented Aug 29, 2025

Build seems to be broken. Put out a fix for it. Need to rerun after #1635

@@ -61,6 +51,16 @@ impl Engine for DataFusionEngine {
}

impl DataFusionEngine {
pub async fn new(config: TomlTable) -> Result<Self> {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why we move this out of trait?

Copy link
Contributor

@liurenjie1024 liurenjie1024 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @lliangyu-lin for this pr!

@liurenjie1024 liurenjie1024 merged commit 8f288ab into apache:main Sep 2, 2025
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Introduce scheduler for integration tests.
2 participants