What happened?
- Using the rust adbc snowflake driver, bulk ingest some data with the schema
let schema = Schema::new(vec![
Field::new("id", DataType::Int32, false),
Field::new("name", DataType::Utf8, false),
]);
let extended_schema = Schema::new(vec![
Field::new("id", DataType::Int32, false),
Field::new("name", DataType::Utf8, false),
Field::new("age", DataType::Int32, false),
]);
- bulk ingest more data into the same table, with
ADBC_INGEST_OPTION_MODE set to ADBC_INGEST_OPTION_MODE_CREATE_APPEND
Expected behaviour
- The ingestion should fail with the ADBC_STATUS_ALREADY_EXISTS error
Observed behaviour
- Ingestion completes with partial data return, and no error is returned
Stack Trace
How can we reproduce the bug?
https://github.com/Pranav2612000/snowflake-adbc-test/blob/master/src/main.rs
Environment/Setup
adbc_core = "0.22.0"
adbc_driver_manager = "0.22.0"
arrow = { version = "57.0.0", features = ["prettyprint"] }
arrow-array = { version = "57.0.0", features = ["chrono-tz"] }
arrow-schema = "57.1.0"
What happened?
ADBC_INGEST_OPTION_MODEset toADBC_INGEST_OPTION_MODE_CREATE_APPENDExpected behaviour
Observed behaviour
Stack Trace
How can we reproduce the bug?
https://github.com/Pranav2612000/snowflake-adbc-test/blob/master/src/main.rs
Environment/Setup
adbc_core = "0.22.0"
adbc_driver_manager = "0.22.0"
arrow = { version = "57.0.0", features = ["prettyprint"] }
arrow-array = { version = "57.0.0", features = ["chrono-tz"] }
arrow-schema = "57.1.0"