From 19709e44dcffa2e6004588606eb8bd6759d45613 Mon Sep 17 00:00:00 2001 From: mwish Date: Wed, 5 Jun 2024 19:16:29 +0800 Subject: [PATCH] MINOR: ParquetFilePrinter::JSONPrint print length of FLBA --- cpp/src/parquet/printer.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cpp/src/parquet/printer.cc b/cpp/src/parquet/printer.cc index ce194f897e44d..33df5925a1cf1 100644 --- a/cpp/src/parquet/printer.cc +++ b/cpp/src/parquet/printer.cc @@ -246,7 +246,8 @@ void ParquetFilePrinter::JSONPrint(std::ostream& stream, std::list selected const ColumnDescriptor* descr = file_metadata->schema()->Column(i); stream << " { \"Id\": \"" << i << "\"," << " \"Name\": \"" << descr->path()->ToDotString() << "\"," - << " \"PhysicalType\": \"" << TypeToString(descr->physical_type()) << "\"," + << " \"PhysicalType\": \"" + << TypeToString(descr->physical_type(), descr->type_length()) << "\"," << " \"ConvertedType\": \"" << ConvertedTypeToString(descr->converted_type()) << "\"," << " \"LogicalType\": " << (descr->logical_type())->ToJSON() << " }";