Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-10314

Spark dataframe will get wrong schema if user executes add/drop column DDL

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.3, 2.4, 2.5, 2.6, 2.7
    • 2.8
    • spark
    • None

    Description

      When user performs add/remove column in DDL,  Spark will get the old/wrong schema.

       

      Analyse 

      Currently Spark data frame API relies on QueryEntity to construct schema, but QueryEntity in QuerySchema is a local copy of the original QueryEntity, so the original QueryEntity is not updated when modification happens.

       

      Solution

      Use GridQueryTypeDescriptor to replace QueryEntity

      Attachments

        Issue Links

          Activity

            People

              ldz Ray Liu
              ldz Ray Liu
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 673.5h
                  673.5h