Skip to content

Parquet fails to parse schema contains '\r' #1726

Open

Description

@asfimport

Parquet fails to parse schema contains '\r' for windows operating system.
at parquet.schema.MessageTypeParser.asRepetition(MessageTypeParser.java:203)
at parquet.schema.MessageTypeParser.addType(MessageTypeParser.java:101)
at parquet.schema.MessageTypeParser.addGroupTypeFields(MessageTypeParser.java:96)
at parquet.schema.MessageTypeParser.parse(MessageTypeParser.java:89)
at parquet.schema.MessageTypeParser.parseMessageType(MessageTypeParser.java:79)
at org.apache.spark.sql.parquet.ParquetTestData$.writeFile(ParquetTestData.scala:221)
at org.apache.spark.sql.parquet.ParquetQuerySuite.beforeAll(ParquetQuerySuite.scala:92)

Reporter: Rekha Joshi

Related issues:

Note: This issue was originally created as PARQUET-176. Please see the migration documentation for further details.

Activity

  1. asfimport commented on Feb 3, 2015

    @asfimport
    Author

    Ryan Blue / @rdblue:
    [~rekhajoshm], where did the Schema come from that you're using? I think this is a good addition, but I think we don't run into this much because not may people actually write Parquet Schemas by hand. Mostly, they're built by translating from some other object model's schema. If that's what you're doing and Parquet creates Schemas with \r when running on a windows platform, then I think there are two bugs to fix, not just this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions