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? -- View this message in context: http://apache-carbondata-dev-mailing-list-archive.1130556.n5.nabble.com/Why-is-slower-that-build-ChunkRowIterator-object-in-presto-plugin-of-carbondata-tp17356p17427.html Sent from the Apache CarbonData Dev Mailing List archive mailing list archive at Nabble.com.
