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

Assign NULL value for empty text fields in JSON data sources

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • Future
    • Storage - JSON
    • None

    Description

      Ability for Drill to assign a NULL value to empty text fields in JSON files.
      Option to be set at session or system level to implement this assignment.

      Avoids errors when casting to different data types without the need to check for empty fields first. Simplifies predicate filters and avoid potential mistakes, if empty text values need to be ignored. Allows for simplification of joins, if casting of data type is required, especially with columns from different data sources.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              aengelbrecht Andries Engelbrecht
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: