Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-43847

Protobuf: Throw structured error when reading descriptor file in Python fails

    XMLWordPrintableJSON

Details

    • Task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.5.0
    • None
    • Protobuf
    • None

    Description

      `read_descriptor_set_file()` in `protobuf.functions` reads binary descriptor file from a file. It should throw structured Spark SQL error like _PROTOBUF_DESCRIPTOR_FILE_NOT_FOUND when the file is missing. It currently throws native Python error. 

      Attachments

        Activity

          People

            Unassigned Unassigned
            rangadi Raghu Angadi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: