Re: Why is slower that build ChunkRowIterator object in presto plugin of carbondata?
Posted by
Liang Chen on
Jul 06, 2017; 4:28am
URL: http://apache-carbondata-dev-mailing-list-archive.168.s1.nabble.com/Why-is-slower-that-build-ChunkRowIterator-object-in-presto-plugin-of-carbondata-tp17356p17427.html
Hi
In Spark-shell, you can use the below script :
import org.apache.carbondata.core.util.CarbonProperties
import org.apache.carbondata.core.constants.CarbonCommonConstants
CarbonProperties.getInstance().addProperty(CarbonCommonConstants.ENABLE_VECTOR_READER, "true")
CarbonProperties.getInstance().addProperty(CarbonCommonConstants.ENABLE_OFFHEAP_SORT, "true")
CarbonProperties.getInstance().addProperty(CarbonCommonConstants.ENABLE_UNSAFE_SORT, "true")
Regards
Liang
suizhe007 wrote
Hi,
Datasize 1024MB(Default).I load data into Carbon Table through Spark-Shell. The presto plugin of Carbon supports the "carbondata-store" property only.How do I add the properties you listed?