apache / apache/parquet-java

[parquet-cli] Illegal character in column name

Open
#3,364 0 comments 0 reactions 0 assignees View on GitHub
Type: bug
Dominant language
Java
Stars
3.1k
Forks
1.6k
Avg merge
3d 12h
Merged PRs (30d)
33

Description

### Describe the bug, including details regarding any error messages, version, and platform.

I have a Parquet file with a column that contains a hyphen character and get the following error:

> Illegal character in: Creation-Time

I guess Parquet officially supports only alphanumeric plus underscore, but I have retrieved this Parquet file from a [blob inventory scan](https://docs.azure.cn/en-us/storage/blobs/blob-inventory-how-to) on Azure.

Might there be an option to allow such a column name in `parquet cat` for example?

### Component(s)

CLI

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the parquet cat CLI path and reproduce the failure with a Parquet file containing the Creation-Time column name. Trace where column names are validated, then determine how an opt-in allowance would affect the command. Done means parquet cat can process this column name without the Illegal character error while preserving existing validation behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.