Skip to content

Commit

Permalink
MINOR: ParquetFilePrinter::JSONPrint print length of FLBA
Browse files Browse the repository at this point in the history
  • Loading branch information
mapleFU committed Jun 5, 2024
1 parent d02a91b commit 19709e4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cpp/src/parquet/printer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,8 @@ void ParquetFilePrinter::JSONPrint(std::ostream& stream, std::list<int> 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() << " }";
Expand Down

0 comments on commit 19709e4

Please sign in to comment.