Commits


FawnD2 authored and Antoine Pitrou committed ec7bf9832b5
ARROW-10514: [C++][Parquet] Make the column name the same for both output formats of parquet reader In parquet-reader there are two ways to output the schema for a Parquet file: DebugPrint and JSONPrint. When output in JSON format, the Column name is short name instead of full-qualified name. For example, for schema (1), there will be 2 Columns with `"Name": "key"`. That's very confusing. In this PR we start using full-qualified name for Column in JSONPrint instead of short name, similar to DebugPrint. (1): ``` required group field_id=0 spark_schema { optional group field_id=1 a (Map) { repeated group field_id=2 key_value { required binary field_id=3 key (String); optional group field_id=4 value (Map) { repeated group field_id=5 key_value { required int32 field_id=6 key; required boolean field_id=7 value; } } } } } ``` Closes #9649 from FawnD2/patch-1 Authored-by: FawnD2 <zzosimova@ya.ru> Signed-off-by: Antoine Pitrou <antoine@python.org>