Skip to content

Commit 6044d3d

Browse files
committed
Merge remote-tracking branch 'apache/main' into 12736/union-schema-handling
2 parents 24bb5e5 + 18c5a6c commit 6044d3d

50 files changed

Lines changed: 2789 additions & 1158 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Cargo.lock

Lines changed: 71 additions & 70 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ repository = "https://github.com/apache/datafusion"
7878
# Define Minimum Supported Rust Version (MSRV)
7979
rust-version = "1.86.0"
8080
# Define DataFusion version
81-
version = "49.0.1"
81+
version = "49.0.2"
8282

8383
[workspace.dependencies]
8484
# We turn off default-features for some dependencies here so the workspaces which inherit them can
@@ -173,12 +173,12 @@ recursive = "0.1.1"
173173
regex = "1.8"
174174
rstest = "0.25.0"
175175
serde_json = "1"
176-
sqlparser = { version = "0.55.0", default-features = false, features = ["std", "visitor"] }
176+
sqlparser = { version = "0.58.0", default-features = false, features = ["std", "visitor"] }
177177
tempfile = "3"
178178
testcontainers = { version = "0.24", features = ["default"] }
179179
testcontainers-modules = { version = "0.12" }
180180
tokio = { version = "1.47", features = ["macros", "rt", "sync"] }
181-
url = "2.5.4"
181+
url = "2.5.6"
182182

183183
[profile.release]
184184
codegen-units = 1

datafusion-cli/tests/cli_integration.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,7 @@ SELECT COUNT(*) FROM hits;
340340
#[rstest]
341341
#[case("SELECT pow(1,'foo')")]
342342
#[case("SELECT CAST('not_a_number' AS INTEGER);")]
343+
#[cfg(feature = "backtrace")]
343344
fn test_backtrace_output(#[case] query: &str) {
344345
let mut cmd = cli();
345346
// Use a command that will cause an error and trigger backtrace

datafusion/common/src/encryption.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,10 @@ pub use parquet::encryption::decrypt::FileDecryptionProperties;
2424
pub use parquet::encryption::encrypt::FileEncryptionProperties;
2525

2626
#[cfg(not(feature = "parquet_encryption"))]
27+
#[derive(Default, Debug)]
2728
pub struct FileDecryptionProperties;
2829
#[cfg(not(feature = "parquet_encryption"))]
30+
#[derive(Default, Debug)]
2931
pub struct FileEncryptionProperties;
3032

3133
pub use crate::config::{ConfigFileDecryptionProperties, ConfigFileEncryptionProperties};

datafusion/common/src/test_util.rs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,14 @@ pub fn arrow_test_data() -> String {
255255
#[cfg(feature = "parquet")]
256256
pub fn parquet_test_data() -> String {
257257
match get_data_dir("PARQUET_TEST_DATA", "../../parquet-testing/data") {
258-
Ok(pb) => pb.display().to_string(),
258+
Ok(pb) => {
259+
let mut path = pb.display().to_string();
260+
if cfg!(target_os = "windows") {
261+
// Replace backslashes (Windows paths; avoids some test issues).
262+
path = path.replace("\\", "/");
263+
}
264+
path
265+
}
259266
Err(err) => panic!("failed to get parquet data dir: {err}"),
260267
}
261268
}

0 commit comments

Comments
 (0)