dinh_d___c_d____ng
05/30/2023, 7:41 AMAndy Carter
05/30/2023, 8:50 AMdinh_d___c_d____ng
05/30/2023, 8:50 AMdinh_d___c_d____ng
05/30/2023, 8:51 AMAndy Carter
05/30/2023, 8:52 AMdinh_d___c_d____ng
05/30/2023, 8:53 AMAndy Carter
05/30/2023, 8:55 AMstdio=stderr string_id=target-jsonl
2023-05-30T08:43:45.814691Z [info ] jsonschema.exceptions.ValidationError: None is not of type 'string' cmd_type=elb consumer=True name=target-jsonl producer=False stdio=stderr string_id=target-jsonl
2023-05-30T08:43:45.815176Z [info ] cmd_type=elb consumer=True name=target-jsonl producer=False stdio=stderr string_id=target-jsonl
2023-05-30T08:43:45.815484Z [info ] Failed validating 'type' in schema['properties']['first_name']: cmd_type=elb consumer=True name=target-jsonl producer=False stdio=stderr string_id=target-jsonl
Not familiar with the tap but looks like some kind of validation issue on 'first_name'.Andy Carter
05/30/2023, 8:56 AMmeltano invoke tap-shopify
and see if you get any other issues?dinh_d___c_d____ng
05/30/2023, 8:59 AMdinh_d___c_d____ng
05/30/2023, 9:01 AMdinh_d___c_d____ng
05/30/2023, 9:02 AMExceeded max_retries of 1
File "/home/lof/DEV/Python/dagster-meltano/meltano_project/.meltano/utilities/dagster/venv/lib/python3.8/site-packages/dagster/_core/execution/plan/execute_plan.py", line 262, in dagster_event_sequence_for_step
for step_event in check.generator(step_events):
File "/home/lof/DEV/Python/dagster-meltano/meltano_project/.meltano/utilities/dagster/venv/lib/python3.8/site-packages/dagster/_core/execution/plan/execute_step.py", line 369, in core_dagster_event_sequence_for_step
for user_event in check.generator(
File "/home/lof/DEV/Python/dagster-meltano/meltano_project/.meltano/utilities/dagster/venv/lib/python3.8/site-packages/dagster/_core/execution/plan/execute_step.py", line 90, in _step_output_error_checked_user_event_sequence
for user_event in user_event_sequence:
File "/home/lof/DEV/Python/dagster-meltano/meltano_project/.meltano/utilities/dagster/venv/lib/python3.8/site-packages/dagster/_core/execution/plan/compute.py", line 192, in execute_core_compute
for step_output in _yield_compute_results(step_context, inputs, compute_fn):
File "/home/lof/DEV/Python/dagster-meltano/meltano_project/.meltano/utilities/dagster/venv/lib/python3.8/site-packages/dagster/_core/execution/plan/compute.py", line 161, in _yield_compute_results
for event in iterate_with_context(
File "/home/lof/DEV/Python/dagster-meltano/meltano_project/.meltano/utilities/dagster/venv/lib/python3.8/site-packages/dagster/_utils/__init__.py", line 447, in iterate_with_context
return
File "/usr/lib/python3.8/contextlib.py", line 131, in __exit__
self.gen.throw(type, value, traceback)
File "/home/lof/DEV/Python/dagster-meltano/meltano_project/.meltano/utilities/dagster/venv/lib/python3.8/site-packages/dagster/_core/execution/plan/utils.py", line 72, in op_execution_error_boundary
raise RetryRequestedFromPolicy(
The above exception was caused by the following exception:
dagster_meltano.exceptions.MeltanoCommandError: Command 'run tap-shopify target-jsonl' failed with exit code 1
File "/home/lof/DEV/Python/dagster-meltano/meltano_project/.meltano/utilities/dagster/venv/lib/python3.8/site-packages/dagster/_core/execution/plan/utils.py", line 54, in op_execution_error_boundary
yield
File "/home/lof/DEV/Python/dagster-meltano/meltano_project/.meltano/utilities/dagster/venv/lib/python3.8/site-packages/dagster/_utils/__init__.py", line 445, in iterate_with_context
next_output = next(iterator)
File "/home/lof/DEV/Python/dagster-meltano/meltano_project/.meltano/utilities/dagster/venv/lib/python3.8/site-packages/dagster/_core/execution/plan/compute_generator.py", line 124, in _coerce_op_compute_fn_to_iterator
result = invoke_compute_fn(
File "/home/lof/DEV/Python/dagster-meltano/meltano_project/.meltano/utilities/dagster/venv/lib/python3.8/site-packages/dagster/_core/execution/plan/compute_generator.py", line 118, in invoke_compute_fn
return fn(context, **args_to_pass) if context_arg_provided else fn(**args_to_pass)
File "/home/lof/DEV/Python/dagster-meltano/dagster_meltano/ops.py", line 94, in dagster_op
output = meltano_resource.execute_command(
File "/home/lof/DEV/Python/dagster-meltano/dagster_meltano/meltano_resource.py", line 70, in execute_command
raise MeltanoCommandError(
Andy Carter
05/30/2023, 9:03 AMinvoke
? Do you get a similar error?Andy Carter
05/30/2023, 9:04 AMmeltano invoke tap-shopify
Andy Carter
05/30/2023, 9:05 AMAndy Carter
05/30/2023, 9:05 AMdinh_d___c_d____ng
05/30/2023, 9:05 AMdinh_d___c_d____ng
05/30/2023, 9:07 AMAndy Carter
05/30/2023, 9:24 AMedgar_ramirez_mondragon
05/30/2023, 1:23 PMdaniel_walker
05/30/2023, 2:07 PMstring
got null
issue. @edgar_ramirez_mondragon I think when using the SDK to build a schema as a python class it makes values nullable by default, is there any way to make the .json
schemas nullable on import as well? Might just be a case that I switch this tap over to SDK schemas.edgar_ramirez_mondragon
05/30/2023, 3:44 PMis there any way to make theThere’s not and we probably won’t prioritize that ourselves since we’ll encourage the use ofschemas nullable on import as well?.json
singer_sdk.typing
classesReuben (Matatika)
05/30/2023, 4:37 PMfirst_name
easily by updating the schema, but I think that might be just the tip of the iceberg here (related). I think that our best course of action is probably to retire the .json
schemas in favour of the SDK class-based approach, but that will not be a quick fix.
In the meantime, we have pushed a fix to make first_name
and last_name
nullable to hopefully resolve this issue with what information we have here.
@dinh_d___c_d____ng You will need to meltano install --clean extractor tap-shopify
. If you still have problems, it would be great if you could provide some sample record data that we can work with to narrow down the what constitutes a valid schema for each stream. 🙂andy_carter
05/30/2023, 6:25 PMedgar_ramirez_mondragon
05/30/2023, 6:37 PMrequired=False
(the default) will be serialized with "type": […, "null"]