Uploaded image for project: 'Parquet'
  1. Parquet
  2. PARQUET-1240

Proto-Parquet cannot write a schema with an empty group

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.9.1
    • None
    • None
    • None

    Description

      This is valid protobuf:

       

      message Something {
          EmptyMessage outerEmptyMessage = 1;
      }
      
      message EmptyMessage {
      }
      

      However when we try to convert this to Parquet we get:

      org.apache.parquet.schema.InvalidSchemaException: Cannot write a schema with an empty group: optional group outerEmptyMessage = 1 {
      }

      Is this a limitation of the Parquet format, or just a bug?

      If the former, can we break earlier when generating the schema out of Protobuf, and not when trying to write the content to the already generated schema?

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            andresp André Pinto
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: