How carbondata handle greater than with global dict column?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

How carbondata handle greater than with global dict column?

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()), CarbonAliasDecoderRelation(),
org.apache.spark.sql.CarbonSession@7e1b4f54
+- *(1) Project [A#41]
   +- *(1) FileScan test_carbondata.table[A#41] PushedFilters:
[IsNotNull(date), IsNotNull(version), EqualTo(date,2018-09-05),
GreaterThanOrEqual(versio...  |

How carbon know the version greater the value in file scan when the data
save in the file is just the dict encoding?



--
Sent from: http://apache-carbondata-dev-mailing-list-archive.1130556.n5.nabble.com/