Dataset Viewer
Auto-converted to Parquet Duplicate
repo
stringclasses
1 value
pull_number
int64
443
6.37k
instance_id
stringlengths
20
21
issue_numbers
sequencelengths
1
1
base_commit
stringlengths
40
40
patch
stringlengths
602
65k
test_patch
stringlengths
543
17.6k
problem_statement
stringlengths
495
4.62k
hints_text
stringlengths
0
5.6k
created_at
stringlengths
20
20
version
stringlengths
3
4
environment_setup_commit
stringlengths
40
40
FAIL_TO_PASS
sequencelengths
1
5
PASS_TO_PASS
sequencelengths
2
67
FAIL_TO_FAIL
sequencelengths
0
0
PASS_TO_FAIL
sequencelengths
0
1
apache/arrow-rs
4,351
apache__arrow-rs-4351
[ "4350" ]
008cf9c27424d581a67ba97f338a22b6eace9cc1
diff --git a/object_store/Cargo.toml b/object_store/Cargo.toml index 28bf29f7f1e0..4002a1865fa6 100644 --- a/object_store/Cargo.toml +++ b/object_store/Cargo.toml @@ -75,3 +75,7 @@ tempfile = "3.1.0" futures-test = "0.3" rand = "0.8" hyper = { version = "0.14.24", features = ["server"] } + +[[test]] +name = "get_ran...
diff --git a/object_store/tests/get_range_file.rs b/object_store/tests/get_range_file.rs new file mode 100644 index 000000000000..f926e3b07f2a --- /dev/null +++ b/object_store/tests/get_range_file.rs @@ -0,0 +1,116 @@ +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreeme...
Default ObjectStore::get_range Doesn't Apply Range to GetResult::File **Describe the bug** <!-- A clear and concise description of what the bug is. --> The default implementation of `ObjectStore::get_range` added in #4212 incorrectly handles if `GetResult::File` is returned, instead returning the entire byte rang...
2023-06-02T16:36:39Z
40.0
008cf9c27424d581a67ba97f338a22b6eace9cc1
[ "test_get_range" ]
[ "src/lib.rs - (line 154)", "src/lib.rs - (line 53)", "src/lib.rs - (line 178)", "src/lib.rs - (line 106)", "src/limit.rs - limit::LimitStore (line 39)", "src/path/mod.rs - path::Path (line 123)", "src/path/mod.rs - path::Path (line 102)", "src/path/mod.rs - path::Path (line 112)" ]
[]
[]
apache/arrow-rs
4,343
apache__arrow-rs-4343
[ "4324" ]
795259502d8d19f1e929d8ebf1b2819b6ab145c4
diff --git a/arrow-data/src/transform/mod.rs b/arrow-data/src/transform/mod.rs index c74875072233..f4b2b46d1723 100644 --- a/arrow-data/src/transform/mod.rs +++ b/arrow-data/src/transform/mod.rs @@ -53,7 +53,7 @@ struct _MutableArrayData<'a> { pub null_count: usize, pub len: usize, - pub null_buffer: Mut...
diff --git a/arrow/tests/array_transform.rs b/arrow/tests/array_transform.rs index 40938c80f4c3..ebbadc00aecd 100644 --- a/arrow/tests/array_transform.rs +++ b/arrow/tests/array_transform.rs @@ -922,6 +922,29 @@ fn test_fixed_size_binary_append() { assert_eq!(result, expected); } +#[test] +fn test_extend_nulls(...
concat_batches panics with total_len <= bit_len assertion for records with lists **Describe the bug** `concat`, used by `concat_batches`, does not appear to allocate sufficient `capacities` when constructing the `MutableArrayData`. Concatenating records that contain lists of structs results in the following panic: ``...
Possibly related to https://github.com/apache/arrow-rs/issues/1230. The error would suggest that the validity buffer is not the correct length. I'll take a look in a bit, MutableArrayData is overdue some TLC in this regard (#1225) Are you able to share a reproducer for this? Sure, see https://github.com/ElementalCognit...
2023-06-02T07:51:43Z
40.0
008cf9c27424d581a67ba97f338a22b6eace9cc1
[ "test_extend_nulls_panic - should panic" ]
[ "arrow/src/lib.rs - (line 140)", "arrow/src/lib.rs - (line 121)", "arrow/src/lib.rs - (line 253)", "arrow/src/lib.rs - (line 63)", "arrow/src/lib.rs - (line 227)", "arrow/src/lib.rs - (line 282)", "arrow/src/util/string_writer.rs - util::string_writer (line 25)", "arrow/src/lib.rs - (line 97)", "arr...
[]
[]
apache/arrow-rs
4,327
apache__arrow-rs-4327
[ "3680" ]
30196d89bfab698c50bcde6c304f0599011a1100
diff --git a/parquet/src/column/writer/mod.rs b/parquet/src/column/writer/mod.rs index 310519f4a39c..fc5e29b03256 100644 --- a/parquet/src/column/writer/mod.rs +++ b/parquet/src/column/writer/mod.rs @@ -308,6 +308,17 @@ impl<'a, E: ColumnValueEncoder> GenericColumnWriter<'a, E> { max: Option<&E::T>, d...
diff --git a/parquet/tests/arrow_writer_layout.rs b/parquet/tests/arrow_writer_layout.rs index 142112b7b686..3142c8c52063 100644 --- a/parquet/tests/arrow_writer_layout.rs +++ b/parquet/tests/arrow_writer_layout.rs @@ -19,6 +19,7 @@ use arrow::array::{Int32Array, StringArray}; use arrow::record_batch::RecordBatch; ...
Should Parquet pages begin on the start of a row? **Which part is this question about** Parquet writer <!-- Is it code base, library api, documentation or some other part? --> **Describe your question** In #1777 it was brought up [here](https://github.com/apache/arrow-rs/issues/1777#issuecomment-1147686956) tha...
I'm not sure it is a bug per se, but I definitely think the APIs shouldn't do it unilaterally as they currently do. I would support making `GenericColumnWriter::write_batch_internal` call `write_mini_batch` treating the `WriterProperties::write_batch_size` as being a number of rows, as opposed to levels. Tbh this is...
2023-05-31T19:17:10Z
40.0
008cf9c27424d581a67ba97f338a22b6eace9cc1
[ "test_list" ]
[ "parquet/src/file/mod.rs - file (line 63) - compile", "parquet/src/record/api.rs - record::api::Row::get_column_iter (line 62) - compile", "parquet/src/file/mod.rs - file (line 80) - compile", "parquet/src/file/mod.rs - file (line 29) - compile", "parquet/src/column/mod.rs - column (line 38) - compile", "...
[]
[]
apache/arrow-rs
5,439
apache__arrow-rs-5439
[ "5438" ]
ef5c45cf4186a8124da5a1603ebdbc09ef9928fc
diff --git a/arrow-flight/src/error.rs b/arrow-flight/src/error.rs index e054883e965d..ba979ca9f7a6 100644 --- a/arrow-flight/src/error.rs +++ b/arrow-flight/src/error.rs @@ -49,17 +49,24 @@ impl FlightError { impl std::fmt::Display for FlightError { fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::R...
diff --git a/arrow-flight/tests/client.rs b/arrow-flight/tests/client.rs index 9e19bce92338..47565334cb63 100644 --- a/arrow-flight/tests/client.rs +++ b/arrow-flight/tests/client.rs @@ -935,7 +935,7 @@ async fn test_cancel_flight_info_error_no_response() { assert_eq!( err.to_string(), - ...
Refine `Display` implementation for `FlightError` **Is your feature request related to a problem or challenge? Please describe what you are trying to do.** There's a `TODO` for a better `std::fmt::Display` implementation on `FlightError`. Currently it forwards to `std::fmt::Debug`, which does not appear to be a good...
2024-02-27T07:27:28Z
50.0
82fc0df73ab97e239ce5c748a05c57ce582f3d5d
[ "test_cancel_flight_info_error_no_response", "test_renew_flight_endpoint_error_no_response", "test_chained_streams_batch_decoder", "test_error", "test_mismatched_record_batch_schema" ]
[ "arrow-flight/src/client.rs - client::FlightClient::cancel_flight_info (line 609) - compile", "arrow-flight/src/client.rs - client::FlightClient::get_schema (line 497) - compile", "arrow-flight/src/client.rs - client::FlightClient::do_action (line 564) - compile", "arrow-flight/src/client.rs - client::FlightC...
[]
[]
apache/arrow-rs
443
apache__arrow-rs-443
[ "349" ]
0c0077697e55eb154dbfcf3127a3f39e63be2df8
diff --git a/parquet/src/data_type.rs b/parquet/src/data_type.rs index aa1def3db977..f97df3cdaf59 100644 --- a/parquet/src/data_type.rs +++ b/parquet/src/data_type.rs @@ -661,8 +661,15 @@ pub(crate) mod private { _: &mut W, bit_writer: &mut BitWriter, ) -> Result<()> { + if...
diff --git a/parquet/tests/boolean_writer.rs b/parquet/tests/boolean_writer.rs new file mode 100644 index 000000000000..b9d757e71a8e --- /dev/null +++ b/parquet/tests/boolean_writer.rs @@ -0,0 +1,100 @@ +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreements. See the N...
parquet reading hangs when row_group contains more than 2048 rows of data **Describe the bug** Reading an apparently valid parquet file (which can be read by java tools such as parquet-tools) from any rust program will hang. CPU load goes to 100%. Reproduced on both 4.0.0 and 4.1.0. rustc: 1.51.0 **To Reproduce** ...
Thanks for the report @garyanaplan ! yw. Extra Info: It happens with debug or release builds and I reproduced it with 1.51.0 on a linux system. I've also just encountered it. Common element with this reproduction is BOOLEAN field. It worked without BOOLEAN as well. After quick investigation of the looping code, I...
2021-06-10T13:13:10Z
0.3
4c7d4189e72901a78fb4f4250c11421241dd9e13
[ "it_writes_data_without_hanging" ]
[ "parquet/src/compression.rs - compression (line 25) - compile", "parquet/src/file/mod.rs - file (line 29) - compile", "parquet/src/arrow/mod.rs - arrow (line 25) - compile", "parquet/src/file/mod.rs - file (line 64) - compile", "parquet/src/file/mod.rs - file (line 81) - compile", "parquet/src/record/api....
[]
[]
apache/arrow-rs
4,201
apache__arrow-rs-4201
[ "1936" ]
378a9fcc9ee31fff4a9a13f5de5a326dc449541e
diff --git a/arrow-cast/src/cast.rs b/arrow-cast/src/cast.rs index 37fede0a6fe0..2b286bfa9119 100644 --- a/arrow-cast/src/cast.rs +++ b/arrow-cast/src/cast.rs @@ -35,7 +35,7 @@ //! assert_eq!(7.0, c.value(2)); //! ``` -use chrono::{NaiveTime, TimeZone, Timelike, Utc}; +use chrono::{NaiveTime, Offset, TimeZone, Time...
diff --git a/arrow/tests/array_cast.rs b/arrow/tests/array_cast.rs index bf7e7a326efc..43dc6dd0eb0a 100644 --- a/arrow/tests/array_cast.rs +++ b/arrow/tests/array_cast.rs @@ -18,6 +18,7 @@ use arrow_array::builder::{ PrimitiveDictionaryBuilder, StringDictionaryBuilder, UnionBuilder, }; +use arrow_array::cast::As...
Cast Kernel Ignores Timezone **Is your feature request related to a problem or challenge? Please describe what you are trying to do.** The beginnings of timezone support were added in #824, however, this is currently ignored by the cast kernel **Describe the solution you'd like** Timezones should be correctly ...
I'd like to work on this. And I think `fmt` of timestamp array cannot ignore timezone too. Could you assign it to me? @tustvold I would recommend writing up the expected behaviour first, as timezone handling is notoriously messy, and once we have consensus we can move forward with implementing that. FYI @avantgardne...
2023-05-11T11:37:13Z
39.0
378a9fcc9ee31fff4a9a13f5de5a326dc449541e
[ "test_cast_timestamp_with_timezone_daylight_1" ]
[ "arrow/src/lib.rs - (line 121)", "arrow/src/lib.rs - (line 140)", "arrow/src/lib.rs - (line 253)", "arrow/src/lib.rs - (line 282)", "arrow/src/lib.rs - (line 78)", "arrow/src/util/string_writer.rs - util::string_writer (line 25)", "arrow/src/lib.rs - (line 63)", "arrow/src/lib.rs - (line 97)", "arro...
[]
[]
apache/arrow-rs
5,717
apache__arrow-rs-5717
[ "5716" ]
a126d5097b71273428fba68d1c430f3d4beee684
diff --git a/parquet_derive/src/parquet_field.rs b/parquet_derive/src/parquet_field.rs index 9fff76c42d1d..f99ea3e0356c 100644 --- a/parquet_derive/src/parquet_field.rs +++ b/parquet_derive/src/parquet_field.rs @@ -239,7 +239,8 @@ impl Field { /// because this parsing logic is not sophisticated enough for definiti...
diff --git a/parquet_derive_test/src/lib.rs b/parquet_derive_test/src/lib.rs index 3743c6b55c7c..e168ad5b980a 100644 --- a/parquet_derive_test/src/lib.rs +++ b/parquet_derive_test/src/lib.rs @@ -66,6 +66,25 @@ struct APartiallyCompleteRecord { pub byte_vec: Vec<u8>, } +// This struct has OPTIONAL columns +// If...
[parquet_derive] support OPTIONAL (def_level = 1) columns by default ## Problem Description <!-- A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] (This section helps Arrow developers understand the context and *why* for this feature, in addition to the *what*) --> I'm ...
What happens if you specify the field as `Option` to match the schema? > What happens if you specify the field as `Option` to match the schema? I have tried, it does not work, because: 1. the OPTIONAL, REQUIRED, REPEATED tags are generated automatically in the macro. 2. even I workaround 1 by enforce the field to ...
2024-05-04T11:18:22Z
51.0
30767a687b48d0dbd2e030eef327826c39095123
[ "tests::test_parquet_derive_read_optional_but_valid_column" ]
[ "tests::test_parquet_derive_hello", "tests::test_parquet_derive_read_write_combined" ]
[]
[]
apache/arrow-rs
6,269
apache__arrow-rs-6269
[ "6268" ]
acdd27a66ac7b5e07816dc648db00532110fb89a
diff --git a/parquet_derive/src/lib.rs b/parquet_derive/src/lib.rs index 16b6a6699e2d..9c93e2cca978 100644 --- a/parquet_derive/src/lib.rs +++ b/parquet_derive/src/lib.rs @@ -146,10 +146,10 @@ pub fn parquet_record_writer(input: proc_macro::TokenStream) -> proc_macro::Toke /// Derive flat, simple RecordReader implemen...
diff --git a/parquet_derive_test/src/lib.rs b/parquet_derive_test/src/lib.rs index e7c7896cb7f3..2cd69d03d731 100644 --- a/parquet_derive_test/src/lib.rs +++ b/parquet_derive_test/src/lib.rs @@ -73,9 +73,9 @@ struct APartiallyCompleteRecord { struct APartiallyOptionalRecord { pub bool: bool, pub string: Stri...
parquet_derive: support reading selected columns from parquet file # Feature Description I'm effectively using `parquet_derive` in my project, and I found that there are two inconvenient constraints: 1. The `ParquetRecordReader` enforces the struct to organize fields exactly in the **same order** in the parquet f...
2024-08-18T14:39:49Z
52.2
678517018ddfd21b202a94df13b06dfa1ab8a378
[ "tests::test_parquet_derive_read_pruned_and_shuffled_columns" ]
[ "tests::test_parquet_derive_hello", "tests::test_parquet_derive_read_write_combined", "tests::test_parquet_derive_read_optional_but_valid_column" ]
[]
[]
apache/arrow-rs
2,407
apache__arrow-rs-2407
[ "2406" ]
27f4762c8794ef1c5d042933562185980eb85ae5
diff --git a/parquet/src/arrow/record_reader/mod.rs b/parquet/src/arrow/record_reader/mod.rs index 88d45f3d746a..18b4c9e07026 100644 --- a/parquet/src/arrow/record_reader/mod.rs +++ b/parquet/src/arrow/record_reader/mod.rs @@ -786,4 +786,186 @@ mod tests { assert_eq!(record_reader.num_records(), 8); a...
diff --git a/parquet/src/util/test_common/page_util.rs b/parquet/src/util/test_common/page_util.rs index dffcb2a44e87..243fb6f8b897 100644 --- a/parquet/src/util/test_common/page_util.rs +++ b/parquet/src/util/test_common/page_util.rs @@ -24,6 +24,7 @@ use crate::encodings::levels::LevelEncoder; use crate::errors::Res...
Support `peek_next_page` and `skip_next_page` in `InMemoryPageReader` **Is your feature request related to a problem or challenge? Please describe what you are trying to do.** when i was implementing bench using `skip_records` got ``` Benchmarking arrow_array_reader/Int32Array/binary packed skip, mandatory, no NUL...
2022-08-11T07:39:09Z
20.0
27f4762c8794ef1c5d042933562185980eb85ae5
[ "parquet/src/arrow/mod.rs - arrow (line 55)" ]
[ "parquet/src/file/mod.rs - file (line 81) - compile", "parquet/src/arrow/arrow_reader.rs - arrow::arrow_reader::ParquetFileArrowReader::try_new (line 203) - compile", "parquet/src/file/mod.rs - file (line 64) - compile", "parquet/src/file/mod.rs - file (line 29) - compile", "parquet/src/record/api.rs - reco...
[]
[]
apache/arrow-rs
2,377
apache__arrow-rs-2377
[ "1254" ]
613b99dcc43ef3af9603fd823f8fe42a801bac19
"diff --git a/.github/workflows/parquet.yml b/.github/workflows/parquet.yml\nindex d8e09f04ba83..ad6(...TRUNCATED)
"diff --git a/parquet/src/arrow/array_reader/test_util.rs b/parquet/src/arrow/array_reader/test_util(...TRUNCATED)
"Fix all clippy lints in parquet crate\n**Describe the bug**\r\nDue to \"historical reasons\" there (...TRUNCATED)
"I'd like to have a try if no one else has been doing it! \r\nRust Clippy is really interesting!\nTh(...TRUNCATED)
2022-08-08T19:09:34Z
20.0
27f4762c8794ef1c5d042933562185980eb85ae5
[ "parquet/src/schema/types.rs - schema::types::ColumnPath::append (line 674)" ]
["parquet/src/file/mod.rs - file (line 64) - compile","parquet/src/file/mod.rs - file (line 81) - co(...TRUNCATED)
[]
[ "parquet/src/arrow/arrow_writer/mod.rs - arrow::arrow_writer::ArrowWriter (line 55)" ]
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
4