xudong963 commented on code in PR #22353:
URL: https://github.com/apache/datafusion/pull/22353#discussion_r3271257386
##########
datafusion/core/tests/sql/explain_analyze.rs:
##########
@@ -269,23 +305,16 @@ async fn explain_analyze_level() {
#[tokio::test]
async fn explain_analyze_level_datasource_parquet() {
- let table_name = "tpch_lineitem_small";
- let parquet_path = "tests/data/tpch_lineitem_small.parquet";
- let sql = format!("EXPLAIN ANALYZE SELECT * FROM {table_name}");
-
- // Register test parquet file into context
- let ctx = SessionContext::new();
- ctx.register_parquet(table_name, parquet_path,
ParquetReadOptions::default())
- .await
- .expect("register parquet table for explain analyze test");
+ let (ctx, _temp_dir) = page_pruning_parquet_context().await;
Review Comment:
mock this to make sure we have page pruning info
--
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]