Haaris Isaac Hussain
01/13/2025, 2:01 PMadd_metadata_columns: true
However I have noticed between variants that the metadata columns (i.e. prefixed _sdc) are not consistent.
For the pipelinewise variant these columns are populated
And for the MeltanoLabs variant these columns are not populated
Anyone experienced this before?Edgar Ramírez (Arch.dev)
01/15/2025, 4:09 AMHaaris Isaac Hussain
01/16/2025, 10:56 AMHaaris Isaac Hussain
01/16/2025, 10:56 AMHaaris Isaac Hussain
01/20/2025, 10:55 AMEdgar Ramírez (Arch.dev)
01/20/2025, 11:59 PMHaaris Isaac Hussain
01/21/2025, 2:07 PMEdgar Ramírez (Arch.dev)
01/21/2025, 2:58 PMpyproject.toml
and then refresh the lock file.Haaris Isaac Hussain
01/21/2025, 7:05 PMHaaris Isaac Hussain
01/29/2025, 9:23 AMtap-mysql
extractor in Meltano. The error occurs during the catalog discovery phase and seems to be related to the sqlalchemy
library. Here are the details:
Error Message:
AttributeError: module 'sqlalchemy.engine.reflection' has no attribute 'ObjectKind'
Full Traceback:
<path_to_tap_mysql_executable> --config <path_to_config_json> --discover returned 1 with stderr:
2025-01-29 08:51:11,309 | INFO | sqlconnector | No is_vitess configuration provided, dynamically checking if we are using a Vitess instance.
2025-01-29 08:51:12,274 | INFO | sqlconnector | Instance is not a Vitess instance, using standard configuration.
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "<path_to_tap_mysql_executable>\\__main__.py", line 7, in <module>
File "<path_to_click_core>\\core.py", line 1161, in __call__
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<path_to_click_core>\\core.py", line 1081, in main
with self.make_context(prog_name, args, **extra) as ctx:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<path_to_click_core>\\core.py", line 949, in make_context
self.parse_args(ctx, args)
File "<path_to_click_core>\\core.py", line 1417, in parse_args
value, args = param.handle_parse_result(ctx, opts, args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<path_to_click_core>\\core.py", line 2403, in handle_parse_result
value = self.process_value(ctx, value)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<path_to_click_core>\\core.py", line 2365, in process_value
value = self.callback(ctx, self, value)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<path_to_singer_sdk>\\tap_base.py", line 554, in cb_discover
tap.run_discovery()
File "<path_to_singer_sdk>\\tap_base.py", line 309, in run_discovery
catalog_text = self.catalog_json_text
^^^^^^^^^^^^^^^^^^^^^^
File "<path_to_singer_sdk>\\tap_base.py", line 329, in catalog_json_text
return dump_json(self.catalog_dict, indent=2)
^^^^^^^^^^^^^^^^^
File "<path_to_tap_mysql>\\tap.py", line 322, in catalog_dict
result["streams"].extend(self.connector.discover_catalog_entries())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<path_to_singer_sdk>\\connectors\\sql.py", line 998, in discover_catalog_entries
(reflection.ObjectKind.TABLE, False),
^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'sqlalchemy.engine.reflection' has no attribute 'ObjectKind'
Haaris Isaac Hussain
02/07/2025, 3:24 PMEdgar Ramírez (Arch.dev)
02/07/2025, 4:25 PMHaaris Isaac Hussain
02/07/2025, 5:03 PMFile "C:\Users\haaris.hussain\OneDrive - Vistair Systems Ltd\Documents\tapmysqlcurrent\tap-mysql\.meltano\extractors\tap-mysql\venv\Lib\site-packages\simplejson\encoder.py", line 734, in _iterencode
o = _default(o)
^^^^^^^^^^^
File "C:\Users\haaris.hussain\OneDrive - Vistair Systems Ltd\Documents\tapmysqlcurrent\tap-mysql\.meltano\extractors\tap-mysql\venv\Lib\site-packages\simplejson\encoder.py", line 274, in default
raise TypeError('Object of type %s is not JSON serializable' %
TypeError: Object of type FullyQualifiedName is not JSON serializableAfter reading through my script what can you suggest?
Edgar Ramírez (Arch.dev)
02/07/2025, 7:14 PMHaaris Isaac Hussain
02/17/2025, 3:51 PMHaaris Isaac Hussain
02/17/2025, 5:36 PM