Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
adrian-wang authored May 31, 2020
1 parent d278318 commit 01a6c6e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ There are several configs you should add to your Spark configuration.

| config | value | comment | |
| ---- | ---- | ---- | ---- |
| spark.sql.extensions | com.alibaba.sparkcube.SparkCube |Add extension |Required|
| spark.sql.cache.tab.display | true | To show web UI in the certain application, typically Spark Thriftserver. |Required|
| spark.sql.cache.useDatabase | db1,db2,dbn | Different database names are separated by commas to store your view and cube|Required|
| spark.sql.cache.cacheByPartition | true | To store cache by partition|Optional|
| spark.driver.extraClassPath | /path/to/this/jar | For web UI resources. |Required|
| spark.sql.extensions | com.alibaba.sparkcube.SparkCube | Add extension. | Required |
| spark.sql.cache.tab.display | true | To show web UI in the certain application, typically Spark Thriftserver. | Required |
| spark.sql.cache.useDatabase | db1,db2,dbn | A list of database names separated by comma. Only tables and views from these databases will be considered for cube building. | Required |
| spark.sql.cache.cacheByPartition | true/false | To store cache by partition. | Optional |
| spark.driver.extraClassPath | /path/to/this/jar | For web UI resources. | Required |

With the configurations above set in your Spark thriftserver, you should be able to see "Cube Management" Tab from the UI of Spark Thriftserver after any `SELECT` command is run. Then you can create/delete/build cubes from this web page.

Expand Down

0 comments on commit 01a6c6e

Please sign in to comment.