Skip to content

Conversation

Swiddis
Copy link
Collaborator

@Swiddis Swiddis commented Oct 9, 2025

Description

Copy of #4385 but merged with main, trying to see what's broken with tests

Related Issues

Resolves #[Issue number to be closed when this PR is merged]

Check List

  • New functionality includes testing.
  • New functionality has been documented.
  • New functionality has javadoc added.
  • New functionality has a user manual doc added.
  • New PPL command checklist all confirmed.
  • API changes companion pull request created.
  • Commits are signed per the DCO using --signoff or -s.
  • Public documentation issue/PR created.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

dai-chen and others added 5 commits June 16, 2025 08:56
…project#3763)

* Add common Gradle task for all published modules

Signed-off-by: Chen Dai <[email protected]>

* Add publish workflow file

Signed-off-by: Chen Dai <[email protected]>

* Rename group ID from sql to query

Signed-off-by: Chen Dai <[email protected]>

---------

Signed-off-by: Chen Dai <[email protected]>
* Add api module with API and UT

Signed-off-by: Chen Dai <[email protected]>

* Refactor catalog API and clean up build.gradle

Signed-off-by: Chen Dai <[email protected]>

* Add cache schema API and refactor UT

Signed-off-by: Chen Dai <[email protected]>

* Add readme

Signed-off-by: Chen Dai <[email protected]>

* Add comment for hardcoding query size limit

Signed-off-by: Chen Dai <[email protected]>

* Add default namespace API with more UTs

Signed-off-by: Chen Dai <[email protected]>

---------

Signed-off-by: Chen Dai <[email protected]>
…-project#4015)

* add datasources submodule

Signed-off-by: cnoramut <[email protected]>

* add legacy since datasources need it

Signed-off-by: cnoramut <[email protected]>

---------

Signed-off-by: cnoramut <[email protected]>
Signed-off-by: Louis Chu <[email protected]>
Co-authored-by: Louis Chu <[email protected]>
@Swiddis Swiddis added the enhancement New feature or request label Oct 9, 2025
@Swiddis Swiddis changed the title Unified PPL as a library Publish internal modules separately for downstream reuse Oct 9, 2025
/**
* A DataSourceService that assumes no access to data sources
*/
public class EmptyDataSourceService implements DataSourceService {
Copy link
Collaborator Author

@Swiddis Swiddis Oct 9, 2025

Choose a reason for hiding this comment

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

Since CalciteRelNodeVisitor needs a data source service now, but this notion doesn't make any sense outside of a cluster, let's just fill in an empty one that always returns no results and reports any given source as nonexistent.

Better solution long-term would be to make CalciteRelNodeVisitor not have this dependency to begin with, seems like it crosses boundaries.

Signed-off-by: Simeon Widdis <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants