GitHub user photogamerun opened a pull request:
https://github.com/apache/carbondata/pull/2468 Update CarbonTableReader.java
bug fix carbon not initalized when show table from infomratino_schema
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
SELECT table_name FROM information_schema.tables WHERE table_schema =
'tmp_sbu_vadmdb'
You can merge this pull request into a Git repository by running:
$ git pull
https://github.com/photogamerun/carbondata-1 photogamerun-patch-1
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/carbondata/pull/2468.patchTo close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2468
----
commit 039284bbe6760570aa4f25270762d90c8d63a3d4
Author: peter.wei <27547073@...>
Date: 2018-07-09T14:07:15Z
Update CarbonTableReader.java
----
---