You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "Nitin-Kashyap (via GitHub)" <gi...@apache.org> on 2023/12/08 06:12:42 UTC

[PR] [Enhancement](metadata) show full columns support for external tables [doris]

Nitin-Kashyap opened a new pull request, #28173:
URL: https://github.com/apache/doris/pull/28173

   ## Proposed changes
   
   Support for the "SHOW FULL COLUMNS" query in the External Hive catalog in Doris.
   
   Issue Number: close #25899
   
   Add suport for SHOW FULL COLUMNS for external tables.
   
   ## Further comments
   Additionally added check for column permissions in SHOW FULL COLUMNS path; this was present in Describe, but missing in SHOW FULL COLUMNS.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [Enhancement](metadata) show full columns support for external tables [doris]

Posted by "Nitin-Kashyap (via GitHub)" <gi...@apache.org>.
Nitin-Kashyap commented on PR #28173:
URL: https://github.com/apache/doris/pull/28173#issuecomment-1846669101

   run buldall


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [Enhancement](metadata) show full columns support for external tables [doris]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #28173:
URL: https://github.com/apache/doris/pull/28173#issuecomment-2197787080

   We're closing this PR because it hasn't been updated in a while.
   This isn't a judgement on the merit of the PR in any way. It's just a way of keeping the PR queue manageable.
   If you'd like to revive this PR, please reopen it and feel free a maintainer to remove the Stale tag!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [Enhancement](metadata) show full columns support for external tables [doris]

Posted by "morningman (via GitHub)" <gi...@apache.org>.
morningman commented on code in PR #28173:
URL: https://github.com/apache/doris/pull/28173#discussion_r1431026118


##########
fe/fe-core/src/main/java/org/apache/doris/analysis/ShowColumnStmt.java:
##########
@@ -98,8 +106,14 @@ public void analyze(Analyzer analyzer) throws AnalysisException {
             tableName.setDb(db);
         }
         tableName.analyze(analyzer);
-        // disallow external catalog
-        Util.prohibitExternalCatalog(tableName.getCtl(), this.getClass().getSimpleName());
+
+        if (!Env.getCurrentEnv().getAccessManager()

Review Comment:
   Better to use this method `public boolean checkTblPriv(UserIdentity currentUser, String ctl, String db, String tbl, PrivPredicate wanted)` to and pass all `catalog`, `database` and `table` info



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [Enhancement](metadata) show full columns support for external tables [doris]

Posted by "Nitin-Kashyap (via GitHub)" <gi...@apache.org>.
Nitin-Kashyap commented on code in PR #28173:
URL: https://github.com/apache/doris/pull/28173#discussion_r1434015113


##########
fe/fe-core/src/main/java/org/apache/doris/analysis/ShowColumnStmt.java:
##########
@@ -98,8 +106,14 @@ public void analyze(Analyzer analyzer) throws AnalysisException {
             tableName.setDb(db);
         }
         tableName.analyze(analyzer);
-        // disallow external catalog
-        Util.prohibitExternalCatalog(tableName.getCtl(), this.getClass().getSimpleName());
+
+        if (!Env.getCurrentEnv().getAccessManager()

Review Comment:
   fixed



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [Enhancement](metadata) show full columns support for external tables [doris]

Posted by "Nitin-Kashyap (via GitHub)" <gi...@apache.org>.
Nitin-Kashyap commented on PR #28173:
URL: https://github.com/apache/doris/pull/28173#issuecomment-1846607616

   run buildall


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org