You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a tdsx of a published datasource (which is live to a virtual connection (which is extracts only) to AWS Athena).
I am attempting to use Datasource.Fields attributes but can't because instead of a full Field object I only get a string which is the id.
This will print the id: ds = Datasource.from_file('myDS.tdsx') for f in newDS.fields: print(f)
This throws an error: ds = Datasource.from_file('myDS.tdsx') for f in newDS.fields: print(f.name)
AttributeError: 'str' object has no attribute 'name'
The same error occurs with all attributes (but of course the attribute changes to whatever I specify)
The text was updated successfully, but these errors were encountered:
I have a tdsx of a published datasource (which is live to a virtual connection (which is extracts only) to AWS Athena).
I am attempting to use Datasource.Fields attributes but can't because instead of a full Field object I only get a string which is the id.
This will print the id:
ds = Datasource.from_file('myDS.tdsx') for f in newDS.fields: print(f)
This throws an error:
ds = Datasource.from_file('myDS.tdsx') for f in newDS.fields: print(f.name)
AttributeError: 'str' object has no attribute 'name'
The same error occurs with all attributes (but of course the attribute changes to whatever I specify)
The text was updated successfully, but these errors were encountered: