Search code examples
vimparquetnon-printing-characters

What are the special symbols in Parquet files?


I'm writing Parquet with Java API and syncing to HDFS.

When I get the Parquet file and read it with vi, I see many strange symbols like:

^U^B^U^@^U^H^U^H^\^X^H^A^@^@^@^@^@^@^@^X^H^A^@^@^@^@^@^@^@^V^@^@^@^@^A^@^@^@^@^@^@^@^U^@^U

I'm wondering how to interpret these.


Solution

  • These are non-printable characters.

    Examples:

    • ^@ is the representation of NUL character (ASCII value 0)
    • ^M is a carriage return