Skip to content

[FLINK-30753][python] Fix the invocation process of Table.explain()#21730

Closed
yunfengzhou-hub wants to merge 1 commit into
apache:masterfrom
yunfengzhou-hub:FLINK-30753
Closed

[FLINK-30753][python] Fix the invocation process of Table.explain()#21730
yunfengzhou-hub wants to merge 1 commit into
apache:masterfrom
yunfengzhou-hub:FLINK-30753

Conversation

@yunfengzhou-hub
Copy link
Copy Markdown
Contributor

What is the purpose of the change

This PR fixes the bug that PyFlink cannot invoke Explainable.explain() method through py4j.

Brief change log

  • invoke
    String explain(ExplainFormat format, ExplainDetail... extraDetails)
    instead of
    String explain(ExplainDetail... extraDetails)
    when PyFlink uses this function.

Verifying this change

This change is already covered by existing tests, such as pyflink/table/tests/test_explain.py::StreamTableExplainTests::test_explain.

Does this pull request potentially affect one of the following parts:

  • Dependencies (does it add or upgrade a dependency): no
  • The public API, i.e., is any changed class annotated with @Public(Evolving): no
  • The serializers: no
  • The runtime per-record code paths (performance sensitive): no
  • Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: no
  • The S3 file system connector: no

Documentation

  • Does this pull request introduce a new feature? no
  • If yes, how is the feature documented? not applicable

@yunfengzhou-hub
Copy link
Copy Markdown
Contributor Author

@flinkbot run azure

@flinkbot
Copy link
Copy Markdown
Collaborator

flinkbot commented Jan 19, 2023

CI report:

Bot commands The @flinkbot bot supports the following commands:
  • @flinkbot run azure re-run the last Azure build

@yunfengzhou-hub
Copy link
Copy Markdown
Contributor Author

@flinkbot run azure

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants