enverus-ea / enverus-developer-api

Enverus Developer API Python Client
MIT License
19 stars 16 forks source link

get_ddl for rig_specs dataset, database = 'pg' returns incorrect datatype for 'GridCapableFlag' column #29

Open akohlislb opened 1 year ago

akohlislb commented 1 year ago

The get_ddl function of DeveloperAPIv3 class in enverus_developer_api is not returning the correct datatype for column 'GridCapableFlag' in 'rig_specs' dataset. The column - 'GridCapableFlag' is of varchar(5) datatype, however, the python library returns the value as boolean.

As part of my program, after I create the v3 python library client, I am using the following statement -

ddl = v3.ddl('rig_specs', database="pg") print(ddl)

Please fix this issue. It has also been reported to the drillinginfosupport@enverus.com email. I was advised to report it here!

joseramosenverus commented 8 months ago

This actually has been resolved. This was due to a text/boolean mismatch. Field is now a boolean.