I hereby claim:
- I am guanjieshen on github.
- I am guanjieshen (https://keybase.io/guanjieshen) on keybase.
- I have a public key ASDU9ZS9tBaoEwxFR-KrQnnLgQHQ2Tqcwp5ibx6tF6YnQgo
To claim this, I am signing this object:
from databricks import sql | |
import os | |
with sql.connect(server_hostname = "adb-xxxxxx.xx.azuredatabricks.net", | |
http_path = "/sql/1.0/warehouses/c130039b655d51f4", | |
access_token = "dapixxxxxx") as connection: | |
with connection.cursor() as cursor: | |
cursor.execute("SELECT l_orderkey, l_extendedprice, l_shipdate FROM lineitem LIMIT 2") | |
result = cursor.fetchall() |
{ | |
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", | |
"contentVersion": "1.0.0.0", | |
"parameters": { | |
"connectorName": { | |
"defaultValue": "testConnector", | |
"type": "String", | |
"metadata": { | |
"description": "The name of the Azure Databricks Access Connector to create." | |
} |
FROM databricksruntime/standard:9.x | |
# Add Additional dependencies | |
ADD https://repo1.maven.org/maven2/com/microsoft/azure/azure-eventhubs-spark_2.12/2.3.21/azure-eventhubs-spark_2.12-2.3.21.jar databricks/jars |
I hereby claim:
To claim this, I am signing this object: