-
Notifications
You must be signed in to change notification settings - Fork 4
[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
Conversation
from pyflink.table.expressions import row | ||
|
||
CLOUD_PROPERTIES_PATH = os.path.join(os.path.abspath(os.path.dirname(__file__)), | ||
"../../../config/cloud.properties") |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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__)),)
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
1152909
to
ec9c9cd
Compare
ec9c9cd
to
6b42dff
Compare
No description provided.