Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-10420

Create and drop view in sql client should check the view created based on the configuration.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Table SQL / Client
    • Labels:
      None

      Description

      Currently, just checked current session : 

      private void callCreateView(SqlCommandCall cmdCall) {
         final String name = cmdCall.operands[0];
         final String query = cmdCall.operands[1];
      
         //here
         final String previousQuery = context.getViews().get(name);
         if (previousQuery != null) {
            printExecutionError(CliStrings.MESSAGE_VIEW_ALREADY_EXISTS);
            return;
         }
      

       

        Attachments

          Activity

            People

            • Assignee:
              yanghua vinoyang
              Reporter:
              yanghua vinoyang
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: