viirya commented on code in PR #1636:
URL: https://github.com/apache/arrow-rs/pull/1636#discussion_r862511828
##########
integration-testing/src/lib.rs:
##########
@@ -640,6 +645,7 @@ fn dictionary_array_from_json(
dict_key: &DataType,
dict_value: &DataType,
dictionary: &ArrowJsonDictionaryBatch,
+ dictionaries: Option<&HashMap<i64, ArrowJsonDictionaryBatch>>,
Review Comment:
This is where the following error comes out when running `archery --debug
integration --run-flight --with-cpp=false --with-rust=true`:
```
dictionary value type: List(Field { name: "str_dict", data_type:
Dictionary(Int8, Utf8), nullable: true, dict_id: 0, dict_is_ordered: false,
metadata: None })
Error: JsonError("Unable to find any dictionaries for field Field { name:
\"str_dict\", data_type: Dictionary(Int8, Utf8), nullable: true, dict_id: 0,
dict_is_ordered: false, metadata: None }")
```
After fixing this, there is index error fixed by
https://github.com/apache/arrow-rs/pull/1636#pullrequestreview-958622097.
--
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]