Skip to content
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

FLIP-107: Expose metadata for new Table source #494

Closed
crazyzhou opened this issue Apr 19, 2021 · 0 comments · Fixed by #504
Closed

FLIP-107: Expose metadata for new Table source #494

crazyzhou opened this issue Apr 19, 2021 · 0 comments · Fixed by #504

Comments

@crazyzhou
Copy link
Contributor

Problem description
FLIP-107 has added the support for metadata along with the event for both table source and sink.

For table source, we can export the scope, stream, EventPointer in the table source, this can cover the benifit similar with #180 for DataStream Source.

e.g. the structure of the metadata

enum ReadableMetadata {
		SCOPE(
			"scope",
			DataTypes.STRING().notNull()
		),

		STREAM(
			"stream",
			DataTypes.STRING().notNull(),
		),

		EVENT_POINTER(
			"event-pointer",
			DataTypes.BYTES().notNull()
		)

Problem location
Table API

Suggestions for an improvement

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

Successfully merging a pull request may close this issue.

1 participant