Anonymous Coward #224 has posted comments on this change.

Change subject: IMPALA-1659: Netezza compatibility functions: metadata
......................................................................


Patch Set 1:

> (1 comment)

When schemas are enabled, current_schema returns the schema, not the user.

 [nz@netezza ~]$ nzsql -d test -schema grahn
 Welcome to nzsql, the IBM Netezza SQL interactive terminal.
 
 Type:  \h for help with SQL commands
        \? for help on internal slash commands
        \g or terminate with semicolon to execute query
        \q to quit
 
 TEST.GRAHN(ADMIN)=> select current_catalog, current_schema, current_user, 
current_sid, session_user;
  CURRENT_CATALOG | CURRENT_SCHEMA | CURRENT_USER | CURRENT_SID | SESSION_USER
 -----------------+----------------+--------------+-------------+--------------
  TEST            | GRAHN          | ADMIN        |       16025 | ADMIN
 (1 row)

-- 
To view, visit http://gerrit.cloudera.org:8080/4063
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I9b5d1009bbf42acc175a942d2df484e1c64822ca
Gerrit-PatchSet: 1
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-Owner: Zoltan Ivanfi <[email protected]>
Gerrit-Reviewer: Anonymous Coward #224
Gerrit-Reviewer: Marcel Kornacker <[email protected]>
Gerrit-Reviewer: Tim Armstrong <[email protected]>
Gerrit-Reviewer: Zoltan Ivanfi <[email protected]>
Gerrit-HasComments: No

Reply via email to