File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
src/databricks/sql/telemetry/models Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -176,9 +176,9 @@ class TelemetryEvent:
176176 """
177177
178178 session_id : str
179- sql_statement_id : Optional [str ] = None
180179 system_configuration : DriverSystemConfiguration
181180 driver_connection_params : DriverConnectionParameters
181+ sql_statement_id : Optional [str ] = None
182182 auth_type : Optional [str ] = None
183183 vol_operation : Optional [DriverVolumeOperation ] = None
184184 sql_operation : Optional [SqlExecutionEvent ] = None
Original file line number Diff line number Diff line change 11import json
22from dataclasses import dataclass , asdict
33from databricks .sql .telemetry .models .telemetry_event import TelemetryEvent
4+ from typing import Optional
45
56
67@dataclass
@@ -67,10 +68,10 @@ class TelemetryFrontendLog:
6768 entry (FrontendLogEntry): The actual telemetry event data
6869 """
6970
70- workspace_id : int
7171 frontend_log_event_id : str
7272 context : FrontendLogContext
7373 entry : FrontendLogEntry
74+ workspace_id : Optional [int ] = None
7475
7576 def to_json (self ):
7677 return json .dumps (asdict (self ))
You can’t perform that action at this time.
0 commit comments