File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
1
### SparkSQL on HBase examples:
2
2
3
- 1 . Example 1: Create and query SparkSQL table map to a new HBase table
4
- 2 . Example 2: Create and query SparkSQL table map to existing Hbase table
5
- 3 . Example 3: Similar to example 1, but with larger sample file
3
+ 1 . Example 1: Create and query SparkSQL table map to existing Hbase table
4
+ 2 . Example 2: Create and query SparkSQL table map to a new HBase table
5
+ 3 . Example 3: Similar to example 1, but with larger sample file
Original file line number Diff line number Diff line change 1
- ## Example 2 : Create and query SparkSQL table map to existing Hbase table
1
+ ## Example 1 : Create and query SparkSQL table map to existing Hbase table
2
2
In this example, we create SparkSQL table and map it to a existing HBase table. (a single column map to hbase rowkey)
3
3
4
4
Steps:
Original file line number Diff line number Diff line change 1
- ## Example 1 : Create and query SparkSQL table map to a new HBase table (multiple columns map to hbase table rowkey)
1
+ ## Example 3 : Create and query SparkSQL table map to a new HBase table (multiple columns map to hbase table rowkey)
2
2
In this example, we create a new SparkSQL table and map it to a new HBase table with multiple column in rowkey.
3
3
4
4
Steps:
Original file line number Diff line number Diff line change 1
- ## Example 3: Similar to example 1 , but with larger sample file
1
+ ## Example 3: Similar to example 2 , but with larger sample file
2
2
In this example, we create a new SparkSQL table and map it to a new HBase table with multiple column in rowkey.
3
3
4
4
(2) Create table in SparkSQL and in HBase
You can’t perform that action at this time.
0 commit comments