Skip to content

[SQL-2350] Port Python Table API examples #1

New issue

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

Merged
merged 3 commits into from
Sep 5, 2024
Merged

Conversation

dawidwys
Copy link
Member

@dawidwys dawidwys commented Sep 3, 2024

No description provided.

@dawidwys dawidwys requested a review from a team as a code owner September 3, 2024 15:03
from pyflink.table.expressions import row

CLOUD_PROPERTIES_PATH = os.path.join(os.path.abspath(os.path.dirname(__file__)),
"../../../config/cloud.properties")

Choose a reason for hiding this comment

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

should this path be present here or may be replace it with a placeholder?

Copy link
Member

Choose a reason for hiding this comment

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

btw I was also wondering whether we can have a utility to hide in every example and avoid duplicate code: os.path.join(os.path.abspath(os.path.dirname(__file__)),)

Copy link
Member Author

Choose a reason for hiding this comment

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

yes, I tried that, but I failed. I tried putting it in a single module, which I could then import, but I could not manage to make it work. I'll spend a bit more time on that.

Copy link
Member Author

Choose a reason for hiding this comment

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

I think I made it work in a way.

@twalthr twalthr merged commit 8e1bf56 into master Sep 5, 2024
@twalthr twalthr deleted the port-examples branch September 5, 2024 05:31
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.

3 participants