shinichi-takii / ddlparse

DDL parase and Convert to BigQuery JSON schema and DDL statements
https://pypi.org/project/ddlparse/
BSD 3-Clause "New" or "Revised" License
87 stars 29 forks source link

Unable to convert DDL for Oracle table with LONG datatype #67

Open jasper-smith opened 3 years ago

jasper-smith commented 3 years ago

Unable to convert DDL for Oracle table with LONG datatype

Traceback (most recent call last): File "test2.py", line 65, in col_info["bq_legacy_data_type"] = col.bigquery_legacy_data_type File "/Users/x/Documents/ddlparse/env/lib/python3.8/site-packages/ddlparse/ddlparse.py", line 342, in bigquery_legacy_data_type return self.bigquery_data_type File "/Users/x/Documents/ddlparse/env/lib/python3.8/site-packages/ddlparse/ddlparse.py", line 336, in bigquery_data_type raise ValueError("Unknown data type : '{}'".format(self._data_type)) ValueError: Unknown data type : 'LONG'

@shinichi-takii