We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug While ingesting postgres getting following error in log
Traceback (most recent call last): File "/Users/mayursingal/Desktop/ulixius1/OpenMetadata/venv/lib/python3.8/site-packages/metadata/ingestion/source/sql_source.py", line 551, in _get_columns col_data_length = self._check_col_length( File "/Users/mayursingal/Desktop/ulixius1/OpenMetadata/venv/lib/python3.8/site-packages/metadata/ingestion/source/sql_source.py", line 647, in _check_col_length return col_raw_type.length if col_raw_type.length else 1 AttributeError: 'OID' object has no attribute 'length' ERROR: 'OID' object has no attribute 'length' : {'name': 'oid', 'type': OID(), 'nullable': True, 'default': None, 'autoincrement': False, 'comment': None} ERROR: Failed to ingest sample data for table __root__='_pg_foreign_servers' Traceback (most recent call last): File "/Users/mayursingal/Desktop/ulixius1/OpenMetadata/venv/lib/python3.8/site-packages/metadata/ingestion/source/sql_source.py", line 551, in _get_columns col_data_length = self._check_col_length( File "/Users/mayursingal/Desktop/ulixius1/OpenMetadata/venv/lib/python3.8/site-packages/metadata/ingestion/source/sql_source.py", line 647, in _check_col_length return col_raw_type.length if col_raw_type.length else 1 AttributeError: 'OID' object has no attribute 'length' ERROR: 'OID' object has no attribute 'length' : {'name': 'oid', 'type': OID(), 'nullable': True, 'default': None, 'autoincrement': False, 'comment': None} Traceback (most recent call last): File "/Users/mayursingal/Desktop/ulixius1/OpenMetadata/venv/lib/python3.8/site-packages/metadata/ingestion/source/sql_source.py", line 551, in _get_columns col_data_length = self._check_col_length( File "/Users/mayursingal/Desktop/ulixius1/OpenMetadata/venv/lib/python3.8/site-packages/metadata/ingestion/source/sql_source.py", line 647, in _check_col_length return col_raw_type.length if col_raw_type.length else 1 AttributeError: 'OID' object has no attribute 'length' ERROR: 'OID' object has no attribute 'length' : {'name': 'fdwowner', 'type': OID(), 'nullable': True, 'default': None, 'autoincrement': False, 'comment': None} ERROR: Failed to ingest sample data for table __root__='_pg_foreign_data_wrappers' Traceback (most recent call last): File "/Users/mayursingal/Desktop/ulixius1/OpenMetadata/venv/lib/python3.8/site-packages/metadata/ingestion/source/sql_source.py", line 551, in _get_columns col_data_length = self._check_col_length( File "/Users/mayursingal/Desktop/ulixius1/OpenMetadata/venv/lib/python3.8/site-packages/metadata/ingestion/source/sql_source.py", line 647, in _check_col_length return col_raw_type.length if col_raw_type.length else 1 AttributeError: 'OID' object has no attribute 'length' ERROR: 'OID' object has no attribute 'length' : {'name': 'oid', 'type': OID(), 'nullable': True, 'default': None, 'autoincrement': False, 'comment': None} Traceback (most recent call last): File "/Users/mayursingal/Desktop/ulixius1/OpenMetadata/venv/lib/python3.8/site-packages/metadata/ingestion/source/sql_source.py", line 551, in _get_columns col_data_length = self._check_col_length( File "/Users/mayursingal/Desktop/ulixius1/OpenMetadata/venv/lib/python3.8/site-packages/metadata/ingestion/source/sql_source.py", line 647, in _check_col_length return col_raw_type.length if col_raw_type.length else 1 AttributeError: 'OID' object has no attribute 'length' ERROR: 'OID' object has no attribute 'length' : {'name': 'umuser', 'type': OID(), 'nullable': True, 'default': None, 'autoincrement': False, 'comment': None} ERROR: Failed to ingest sample data for table __root__='_pg_user_mappings'
The text was updated successfully, but these errors were encountered:
Fix open-metadata#3041: Handled AttributeError
e7a11f2
Fix #3041: Handled AttributeError (#3042)
98ddf5f
8090275
ulixius9
Successfully merging a pull request may close this issue.
Describe the bug
While ingesting postgres getting following error in log
The text was updated successfully, but these errors were encountered: