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

Implement function validation in Drill

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • Future
    • None
    • None

    Description

      Since the schema of the table is not known during the validation phase of Calcite, Drill ends up skipping most of the validation checks in Calcite.

      This causes certain problems at execution time, for example when we fail function resolution or function execution due to incorrect types provided to the function. The worst manifestation of this problem is in the case when Drill tries to apply implicit casting and produces incorrect results. There are cases when its fine the apply the implicit cast but it doesn't make sense for a particular function.

      This JIRA is aimed to provide a new approach to be able to perform validation

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mehant Mehant Baid
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: