Skip to content

Conversation

aditi-pandit
Copy link

No description provided.

@prestodb-ci prestodb-ci added the from:IBM PRs from IBM label Jun 10, 2025
@prestodb-ci prestodb-ci requested review from a team, NivinCS and jp-sivaprasad and removed request for a team June 10, 2025 06:40
@jaystarshot
Copy link
Member

jaystarshot commented Jul 16, 2025

LGTM, it would be great if we could split the RFC into what is configurable and what needs to be configured and what is built in so that its easier for the users to read the RFC directly

private final String schema;
private final String name;
private final List<ArgumentSpecification> arguments;
private final ReturnTypeSpecification returnTypeSpecification;
Copy link
Member

Choose a reason for hiding this comment

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

What is the ReturnTypeSpecification ?

Copy link
Author

Choose a reason for hiding this comment

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

Had missed the api. Have added it.

@rschlussel
Copy link
Contributor

@feilong-liu @kaikalur

@aditi-pandit
Copy link
Author

LGTM, it would be great if we could split the RFC into what is configurable and what needs to be configured and what is built in so that its easier for the users to read the RFC directly

I had split the declaration, analysis parts of the API and the execution API with the planning pieces (from the framework) in between. I can see why this is confusing as the user does not have continuity with the API. Have changed the writing now.

Copy link
Contributor

@tdcmeehan tdcmeehan left a comment

Choose a reason for hiding this comment

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

Can you add more details from the template:

  1. Adoption plan (I expect this will be simple, opt-in for all connectors and new TVFs)
  2. Test plan
  3. Other approaches considered

Comment on lines +370 to +372
private final boolean rowSemantics;
private final boolean pruneWhenEmpty;
private final boolean passThroughColumns;
Copy link
Contributor

Choose a reason for hiding this comment

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

While I can't think of a way to simplify this, this seems complicated to debug if the connector author doesn't get it right. I'm wondering what sort of testing tools we can give to connector authors to validate the behavior of their functions? For example, is it possible to see the plan of a proposed table valued function and validate that the plan is correct? It would seem like any TVF would want to write tests that validate the TVF is correctly planned, right?

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

Successfully merging this pull request may close these issues.

5 participants