mydate = spark.range(1).withColumn("date",current_timestamp()).select("date").collect()[0][0] Once this assignment is made, you can call the variable to display the stored date and time value as a datetime object. %python mydate Sample output: datetime.datetime(2021, 6, 25, 11, ...
Environment Airbyte version: 0.35.38-alpha OS Version / Instance: AWS EC2 Deployment: Docker Source Connector and version: MSSQL - 0.3.22 Destination Connector and version: Databricks built off commit 5ddef86 Severity: Medium Step where ...
mydate = spark.range(1).withColumn("date",current_timestamp()).select("date").collect()[0][0] Once this assignment is made, you can call the variable to display the stored date and time value as a datetime object. %python mydate Sample output: datetime.datetime(2021, 6, 25, 11, ...