I am trying to build create table statement using python.
my values are stored as following
strsql = ('Col1' 'TEXT'
, ' col2' 'NUMBER(38, 0)'
, 'col3' 'TEXT'
, 'col4' 'TEXT'
, 'col5' 'TIMESTAMP_NTZ')
and using below to
print(', '.join(['t.$1:' + i[0] for i in strsql]))
i am getting output as t.$1:C, t.$1:C , t.$1:c, t.$1:c, t.$1:c
expectation: t.$1:Col1, t.$1:col2 , t.$1:col3, t.$1:col4, t.$1:col5
what I am missing in print statement!