Derby
  1. Derby
  2. DERBY-4399

Syntax description for TableViewOrFunctionExpression lack subquery option

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 10.5.3.0
    • Fix Version/s: 10.6.1.0
    • Component/s: Documentation
    • Labels:
      None
    • Urgency:
      Normal

      Description

      In the reference manual, we find these syntax descriptions (start with http://db.apache.org/derby/docs/dev/ref/rrefsqlj21583.html):

      TableExpression:

      { TableViewOrFunctionExpression | JOIN operation }

      TableViewOrFunctionExpression:

      { table-Name | view-Name | TableFunctionInvocation}

      [ [ AS ] correlation-Name
      [ (Simple-column-Name [ , Simple-column-Name]* ) ] ] ]

      I cannot find a way from the "FROM clause" to the TableSubquery production, so I think the latter should read:

      { table-Name | TableSubquery | view-Name | TableFunctionInvocation }

      [ [ AS ] correlation-Name
      [ (Simple-column-Name [ , Simple-column-Name]* ) ] ] ]

      Also, the "JOIN operation" is not clickable.

      1. DERBY-4399.diff
        5 kB
        Kim Haase
      2. rrefsqlj33215.html
        3 kB
        Kim Haase
      3. rreftableexpression.html
        6 kB
        Kim Haase
      4. DERBY-4399-2.diff
        3 kB
        Kim Haase
      5. rrefsqlj33215.html
        3 kB
        Kim Haase
      6. rreftableexpression.html
        6 kB
        Kim Haase

        Activity

        Dag H. Wanvik created issue -
        Dag H. Wanvik made changes -
        Field Original Value New Value
        Description In the reference manual, we find these syntax description (start with http://db.apache.org/derby/docs/dev/ref/rrefsqlj21583.html):

        TableExpression:
        {
          TableViewOrFunctionExpression | JOIN operation
        }

        TableViewOrFunctionExpression:

        { table-Name | view-Name | TableFunctionInvocation}
            [ [ AS ] correlation-Name
                [ (Simple-column-Name [ , Simple-column-Name]* ) ] ] ]

        I cannot find a way from the "FROM clause" to the TableSubquery production, so I think the latter should read:

        { table-Name | TableSubquery | view-Name | TableFunctionInvocation }
            [ [ AS ] correlation-Name
                [ (Simple-column-Name [ , Simple-column-Name]* ) ] ] ]

        Also, the "JOIN operation" is not clickable.
        In the reference manual, we find these syntax descriptions (start with http://db.apache.org/derby/docs/dev/ref/rrefsqlj21583.html):

        TableExpression:
        {
          TableViewOrFunctionExpression | JOIN operation
        }

        TableViewOrFunctionExpression:

        { table-Name | view-Name | TableFunctionInvocation}
            [ [ AS ] correlation-Name
                [ (Simple-column-Name [ , Simple-column-Name]* ) ] ] ]

        I cannot find a way from the "FROM clause" to the TableSubquery production, so I think the latter should read:

        { table-Name | TableSubquery | view-Name | TableFunctionInvocation }
            [ [ AS ] correlation-Name
                [ (Simple-column-Name [ , Simple-column-Name]* ) ] ] ]

        Also, the "JOIN operation" is not clickable.
        Kim Haase made changes -
        Assignee Kim Haase [ chaase3 ]
        Kim Haase made changes -
        Attachment DERBY-4399.diff [ 12425512 ]
        Attachment rrefcorrelationname.html [ 12425513 ]
        Attachment rrefsqlj33215.html [ 12425514 ]
        Kim Haase made changes -
        Attachment rreftableexpression.html [ 12425515 ]
        Kim Haase made changes -
        Affects Version/s 10.5.3.0 [ 12314117 ]
        Issue & fix info [Patch Available]
        Kim Haase made changes -
        Attachment DERBY-4399-2.diff [ 12425639 ]
        Attachment rrefsqlj33215.html [ 12425640 ]
        Attachment rreftableexpression.html [ 12425641 ]
        Kim Haase made changes -
        Attachment rrefcorrelationname.html [ 12425513 ]
        Kim Haase made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Issue & fix info [Patch Available]
        Fix Version/s 10.6.0.0 [ 12313727 ]
        Resolution Fixed [ 1 ]
        Kim Haase made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Gavin made changes -
        Workflow jira [ 12478693 ] Default workflow, editable Closed status [ 12798350 ]

          People

          • Assignee:
            Kim Haase
            Reporter:
            Dag H. Wanvik
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development