Skip to content

Conversation

@s0sharma
Copy link

@s0sharma s0sharma commented Jan 6, 2024

As part of job_input.get_execution_properties(), I added a way to get the data job version.

Now you can see the data job version too.

@vmwclabot
Copy link

@s0sharma, you must sign our contributor license agreement before your changes are merged. Click here to sign the agreement. If you are a VMware employee, read this for further instruction.

@s0sharma s0sharma changed the title Included data job version in job_input.get_execution_properties() #1246 Included data job version in job_input.get_execution_properties() Jan 6, 2024
@s0sharma s0sharma changed the title Included data job version in job_input.get_execution_properties() <vdk-core>-vdk versatile-data-kit Included data job version in job_input.get_execution_properties() Jan 6, 2024
@s0sharma s0sharma changed the title <vdk-core>-vdk versatile-data-kit Included data job version in job_input.get_execution_properties() support Included data job version in job_input.get_execution_properties() Jan 6, 2024
@s0sharma s0sharma changed the title support Included data job version in job_input.get_execution_properties() build(deps): Included data job version in job_input.get_execution_properties() Jan 6, 2024
@s0sharma s0sharma changed the title build(deps): Included data job version in job_input.get_execution_properties() build(deps): Included data job version in vdk-core/src/vdk/internal/builtin_plugins/run/job_input.py Jan 6, 2024
@murphp15
Copy link
Contributor

murphp15 commented Jan 8, 2024

@s0sharma thanks for this contribution!!!
Always great to have new ppl working on the project!
Would you be able to sign CLA above?
Were you able to test this change?

"pa__job_start_unixtime": str(int(start_time.timestamp())),
"pa__job_start_ts_expr": f"cast ({start_time.timestamp()} as timestamp)",
"pa__op_id": self.__statestore.get(CommonStoreKeys.OP_ID),
"pa__job_version": self.__statestore.get(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you be sure that it is always there?
Is it there even when ppl run a job locally?

@antoniivanov
Copy link
Contributor

Hi @s0sharma , would you be able to complete this change? Do you have any questions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants