Uploaded image for project: 'CarbonData'
  1. CarbonData
  2. CARBONDATA-2711

carbonFileList is not initalized when updatetablelist call

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.4.0
    • Fix Version/s: 1.5.0
    • Component/s: presto-integration
    • Labels:
      None

      Description

      when I execute this sql

      SELECT table_name FROM information_schema.tables WHERE table_schema =
      'tmp_sbu_vadmdb'

      exception like this
      java.lang.NullPointerException: undefined
      at
      org.apache.carbondata.presto.impl.CarbonTableReader.updateTableList(CarbonTableReader.java:208)
      at
      org.apache.carbondata.presto.impl.CarbonTableReader.getTableNames(CarbonTableReader.java:197)
      at
      org.apache.carbondata.presto.CarbondataMetadata.listTables(CarbondataMetadata.java:73)
      at
      com.facebook.presto.spi.connector.classloader.ClassLoaderSafeConnectorMetadata.listTables(ClassLoad

      pr: https://github.com/apache/carbondata/pull/2468

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                photogamrun zhangwei
                Reporter:
                photogamrun zhangwei
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved:

                  Time Tracking

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