[
https://issues.apache.org/jira/browse/CARBONDATA-2707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16536716#comment-16536716 ]
zhangzhuo commented on CARBONDATA-2707:
---------------------------------------
i find if i use DDL ,such as create drop or refresh and it works...
> count(*) is not working
> ------------------------
>
> Key: CARBONDATA-2707
> URL:
https://issues.apache.org/jira/browse/CARBONDATA-2707> Project: CarbonData
> Issue Type: Bug
> Components: build, sql
> Affects Versions: 1.3.1
> Reporter: zhangzhuo
> Priority: Critical
>
> I use thrift server to query the carbontable.
> But when i use "select count(*) from table" ,i got an error like this:
> Error: org.apache.spark.sql.AnalysisException: Table or view not found: carbon_user_0701; line 1 pos 21 (state=,code=0)
> And then , i use the explain command to show how the physical plan is :
> | == Physical Plan ==
> CarbonCountStar [count(1)#4563L], org.apache.carbondata.core.metadata.schema.table.CarbonTable@7296491f, org.apache.spark.sql.CarbonSession@5e96ea34, true |
> It looks like when running count(*) command , it will find cache in current session ,but not in the session which the table be created.
> So,what can i do to make the session same or what can i do to make the count(*) command work?
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)