Skip to content

Commit

Permalink
increase namespace length to 1024 character
Browse files Browse the repository at this point in the history
Signed-off-by: Harsh Loomba <hloomba@upgrade.com>
  • Loading branch information
hloombaupgrade committed Jul 27, 2023
1 parent 50443ab commit 08588aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clients/python/marquez_client/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def check_name_length(variable_value, variable_name):
# ['namespace_name', 'owner_name', 'source_name'] <= 64
# ['dataset_name', 'field_name', 'job_name', 'tag_name'] <= 255
if variable_name in ['namespace_name', 'owner_name', 'source_name']:
if len(variable_value) > 64:
if len(variable_value) > 1024:
raise ValueError(f"{variable_name} length is"
f" {len(variable_value)}, must be <= 64")
else:
Expand Down

0 comments on commit 08588aa

Please sign in to comment.