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

Improve cast functions that cast varchar to numeric type

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.7.0
    • None
    • None

    Description

      The cast function implementation to go from varchar to int/bigint is relatively large and every time we use this function, we add this logic to our run time generated class and JVM has to optimize the same logic multiple times. Instead it would be useful to have a utility method that contains the casting logic, which will be called in the runtime generated code that the JVM will need to optimize only once.

      Attachments

        1. DRILL-1526.patch
          7 kB
          Mehant Baid

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: