Github user robertamarton commented on a diff in the pull request:

    https://github.com/apache/incubator-trafodion/pull/62#discussion_r37681074
  
    --- Diff: core/sql/optimizer/RelExeUtil.cpp ---
    @@ -3733,6 +3734,23 @@ RelExpr * DDLExpr::bindNode(BindWA *bindWA)
             return NULL;
           }
     
    +      // Hive tables can only be specified as external and must be created
    +      // with the FOR clause
    +      if (qualObjName_.isHive()) 
    +      {
    +        if (createTableNode->isExternal())
    +        {
    +          externalTable = TRUE;
    +          isHbase_ = TRUE;
    --- End diff --
    
    This is kind of tricky.  there is an isHive method in qualified name but I 
also needed to set isHbase_ in order for executeSeabaseDDL to work.  It this 
field is not set, then executeSeabaseDDL returns an unsupported error.  


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to