• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

apache / carbondata / 1440
76%

Build:
DEFAULT BRANCH: master
Ran 08 Jan 2019 09:22AM UTC
Jobs 1
Files 1024
Run time 54s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
1440

push

jenkins

ravipesala
[CARBONDATA-3219] Support range partition the input data for local_sort/global sort data loading

For global_sort/local_sort table, load data command add RANGE_COLUMN option

load data inpath '<path>' into table <table name>
options('RANGE_COLUMN'='<a column>')
when we know the total size of input data, we can calculate the number of the partitions.
load data inpath '<path>' into table <table name>
options('RANGE_COLUMN'='<a column>', 'global_sort_partitions'='10')
when we don't know the total size of the input data, we can give the size of each partition.
load data inpath '<path>' into table <table name>
options('RANGE_COLUMN'='<a column>', 'scale_factor'='10')
it will calcute the number of the partitions as follows.

splitSize =  Math.max(blocklet_size, (block_size - blocklet_size)) * scale_factor
numPartitions = Math.ceil(total size / splitSize)
Limitation:

not support insert into, support only load data command,
not support multiple range columns, support only one range column
exists data skew

This closes #2971

62214 of 78637 relevant lines covered (79.12%)

1.05 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1440.1 08 Jan 2019 09:22AM UTC 0
79.12
Source Files on build 1440
Detailed source file information is not available for this build.
  • Back to Repo
  • Jenkins Build #1440
  • 45951c76 on github
  • Prev Build on master (#1442)
  • Next Build on master (#1439)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc