Skip to content

Commit 2c78847

Browse files
committed
fix format and docker version issues
1 parent 8f9ce4e commit 2c78847

3 files changed

+8
-8
lines changed

build/How-to-build-carbondata-notebook-docker-image-by-dockerfile.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ cd build/docker/carbondata-notebook
1212
```
1313
build image:
1414
```
15-
docker build -t carbondata:2.3.0 .
15+
docker build -t carbondata:2.3.1 .
1616
```
1717

1818
```history

build/How-to-build-carbondata-notebook-docker-image-by-manual.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ CONTAINER ID IMAGE COMMAND
3737
```
3838
Add carbondata jar to spark jars directory:
3939
```
40-
docker cp apache-carbondata-2.3.0-bin-spark3.1.1-hadoop2.7.2.jar 305f1277690c:/usr/local/spark-3.1.1-bin-hadoop3.2/jars/
40+
docker cp apache-carbondata-2.3.1-bin-spark3.1.1-hadoop2.7.2.jar 305f1277690c:/usr/local/spark-3.1.1-bin-hadoop3.2/jars/
4141
```
4242

43-
The apache-carbondata-2.3.0-bin-spark3.1.1-hadoop2.7.2.jar is from assembly/target/scala-2.12/ directory of carbondata project.
43+
The apache-carbondata-2.3.1-bin-spark3.1.1-hadoop2.7.2.jar is from assembly/target/scala-2.12/ directory of carbondata project.
4444
You can build jar by maven, For example:
4545

4646
```

format/src/main/thrift/carbondata.thrift

+5-5
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,15 @@ struct SegmentInfo{
3232
}
3333

3434
/**
35-
* Btree index of one blocklet
35+
* Btree index of one blocklet for V3 format
3636
*/
3737
struct BlockletBTreeIndex{
3838
1: required binary start_key; // Bit-packed start key of one blocklet
3939
2: required binary end_key; // Bit-packed end key of one blocklet
4040
}
4141

4242
/**
43-
* Min-max index of one blocklet
43+
* Min-max index of one blocklet for V3 format
4444
*/
4545
struct BlockletMinMaxIndex{
4646
1: required list<binary> min_values; //Min value of all columns of one blocklet Bit-Packed
@@ -49,15 +49,15 @@ struct BlockletMinMaxIndex{
4949
}
5050

5151
/**
52-
* Index of one blocklet
52+
* Index of one blocklet for V3 format
5353
*/
5454
struct BlockletIndex{
5555
1: optional BlockletMinMaxIndex min_max_index;
5656
2: optional BlockletBTreeIndex b_tree_index;
5757
}
5858

5959
/**
60-
* Sort state of one column
60+
* Sort state of one column for V3 format
6161
*/
6262
enum SortState{
6363
SORT_NONE = 0; // Data is not sorted
@@ -211,7 +211,7 @@ struct FileFooter3{
211211
}
212212

213213
/**
214-
* Header for appendable carbon file
214+
* Header for appendable carbon file for V3 format
215215
*/
216216
struct FileHeader{
217217
1: required i32 version; // Version used for data compatibility

0 commit comments

Comments
 (0)