Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Load None python values to Databricks SQL Table

values = tuple(tuple(sub) for sub in <cursor.fetchall()_data>)

value = (", ".join(map(repr,values)))

values = values.replace("None", "NULL")
 
PREVIOUS NEXT
Tagged: #Load #None #python #values #Databricks #SQL #Table
ADD COMMENT
Topic
Name
7+2 =