Skip to content

Commit

Permalink
Update README.md (apache#15)
Browse files Browse the repository at this point in the history
matching the catalog name with the below spark sql example of "use polaris"
  • Loading branch information
ajantha-bhat authored Jul 30, 2024
1 parent ee44b99 commit bb54423
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,10 +169,10 @@ $ export PRINCIPAL_TOKEN=ver:1-hint:1036-ETMsDgAAAY/GPANareallyverylongstringtha

$ curl -i -X PUT -H "Authorization: Bearer $PRINCIPAL_TOKEN" -H 'Accept: application/json' -H 'Content-Type: application/json' \
http://${POLARIS_HOST:-localhost}:8181/api/v1/catalogs \
-d '{"name": "snowflake", "id": 100, "type": "INTERNAL", "readOnly": false}'
-d '{"name": "polaris", "id": 100, "type": "INTERNAL", "readOnly": false}'
```

This creates a catalog called `snowflake`. From here, you can use Spark to create namespaces, tables, etc.
This creates a catalog called `polaris`. From here, you can use Spark to create namespaces, tables, etc.

You must run the following as the first query in your spark-sql shell to actually use Polaris:

Expand Down

0 comments on commit bb54423

Please sign in to comment.