Skip to content

Commit

Permalink
comments
Browse files Browse the repository at this point in the history
  • Loading branch information
nancyhung committed Jan 12, 2024
1 parent 93fefe7 commit b3c820e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions scripts/data_prep/convert_delta_to_json.py
Original file line number Diff line number Diff line change
Expand Up @@ -382,10 +382,8 @@ def validate_and_get_cluster_info(cluster_id: str,
databricks_token: str,
http_path: Optional[str],
use_serverless: bool = False) -> tuple:
"""
Validate and get cluster info for running the Delta to JSONL
conversion.
"""
"""Validate and get cluster info for running the Delta to JSONL
conversion."""
method = 'dbsql'
dbsql = None
sparkSession = None
Expand Down Expand Up @@ -475,6 +473,7 @@ def fetch_DT(args: Namespace) -> None:
cluster_id=args.cluster_id,
databricks_host=args.DATABRICKS_HOST,
databricks_token=args.DATABRICKS_TOKEN,
http_path=args.http_path,
use_serverless=args.use_serverless)

fetch(method, args.delta_table_name, args.json_output_folder,
Expand Down

0 comments on commit b3c820e

Please sign in to comment.