Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-1849

Support sub-queries (RexSubQuery) in RelToSqlConverter

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.12.0
    • 1.14.0
    • core
    • None

    Description

      RelToSqlConverter does not currently support sub-queries (RexSubQuery), but it should.

      SqlToRelConverter, in the default configuration, converts sub-queries into Join clause. But when SqlToRelConverter.Config.expand = false, it does not convert them to Join. And that causes problems because RelToSqlConverter cannot handle them.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            ransom Zhiqiang He
            ransom Zhiqiang He
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment