Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-7354

Replace org.apache.drill.exec.record.SchemaBuilder usage with BatchSchemaBuilder

    XMLWordPrintableJSON

Details

    • Task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.16.0
    • None
    • None
    • None

    Description

      org.apache.drill.exec.record.SchemaBuilder uses "old style" for creating BatchSchema instances, but we have another class BatchSchemaBuilder which is also was intended to create BatchSchema but using a new approach for schema resolution.

      Here is a list of some issues which will appear during the replacement:

      • The wrong contract between equals and hashCode in MaterializedField.java;
      • An issue similar to DRILL-7308 - somewhere scale and precision are set to zero, but in other places, it is not set, so it causes assertion errors;
      • Assertion error in RepeatedListColumnMetadata.java - passed implementation-specific children - $data and $offsets;
      • Other issues.

      Attachments

        Activity

          People

            Unassigned Unassigned
            volodymyr Vova Vysotskyi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: