Re: Throw NullPointerException occasionally when query from stream table

2018-11-06 Thread xm_zzc
Hi David: please see the call stack: -- Sent from: http://apache-carbondata-dev-mailing-list-archive.1130556.n5.nabble.com/

Re: Throw NullPointerException occasionally when query from stream table

2018-11-06 Thread David CaiQiang
Where do we call SegmentPropertiesAndSchemaHolder.invalidate in handoff thread? - Best Regards David Cai -- Sent from: http://apache-carbondata-dev-mailing-list-archive.1130556.n5.nabble.com/

Re: [Discuss] Removing search mode

2018-11-06 Thread xuchuanyin
+1 Q1: When will we start and finish the optimization in carbon-presto integration? Any plan for this? Another question: Q2: Is it possible to use carbon reader to implement the similar function of search mode? -- Sent from:

Re: [Discuss] Removing search mode

2018-11-06 Thread Liang Chen
Hi +1, but one suggestion, in the future we can first try these alpha features in the separate branch . once it is confirmed, then merge into master. Regards Liang akashrn5 wrote > +1 > yes, after search mode implementation we didnt get much advantage as > expected and simply code will be

How carbondata handle greater than with global dict column?

2018-11-06 Thread carbondata-newuser
For example: version column is a dict column explain select A from test_carbondata.table where date='2018-09-05' and version >= "1.8.5" ; | == Physical Plan == *(1) CarbonDictionaryDecoder [test_carbondata_m_device_distinct_for_bdindex], ExcludeProfile(ArrayBuffer()),

Re: Throw NullPointerException occasionally when query from stream table

2018-11-06 Thread xm_zzc
Hi: The root cause is that when execute select sql, BlockDataMap will call 'SegmentPropertiesAndSchemaHolder.addSegmentProperties ' to add segment info one by one, meanwhile if there are some segments updated, for example, stream segment is handoff , handoff thread will call

Re: [Discuss] Removing search mode

2018-11-06 Thread akashrn5
+1 yes, after search mode implementation we didnt get much advantage as expected and simply code will be complex, i agree with likun. -- Sent from: http://apache-carbondata-dev-mailing-list-archive.1130556.n5.nabble.com/