Skip to content

Commit 2305eae

Browse files
committed
Update spark-hbase-demo3.md
1 parent cee820d commit 2305eae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/spark-hbase-demo3.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
## Example 3: Similar to example 2, but with larger sample file
22
In this example, we create a new SparkSQL table and map it to a new HBase table with multiple column in rowkey.
33

4-
(2) Create table in SparkSQL and in HBase
4+
(1) Create table in SparkSQL and in HBase
55
```
66
$SPARK_HBASE_HOME/bin/hbase-sql
77
CREATE TABLE sales1m(id STRING, product STRING, region STRING, sales INTEGER, quantity INTEGER, PRIMARY KEY (id, product, region)) MAPPED BY (hbase_sales1m, COLS=[sales=f.sales, quantity=f.quantity]);

0 commit comments

Comments
 (0)