[ 
https://issues.apache.org/jira/browse/HIVE-26477?focusedWorklogId=805165&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-805165
 ]

ASF GitHub Bot logged work on HIVE-26477:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 31/Aug/22 09:22
            Start Date: 31/Aug/22 09:22
    Worklog Time Spent: 10m 
      Work Description: sonarcloud[bot] commented on PR #3553:
URL: https://github.com/apache/hive/pull/3553#issuecomment-1232690882

   Kudos, SonarCloud Quality Gate passed!    [![Quality Gate 
passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/passed-16px.png
 'Quality Gate 
passed')](https://sonarcloud.io/dashboard?id=apache_hive&pullRequest=3553)
   
   
[![Bug](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/bug-16px.png
 
'Bug')](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=3553&resolved=false&types=BUG)
 
[![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png
 
'A')](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=3553&resolved=false&types=BUG)
 [0 
Bugs](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=3553&resolved=false&types=BUG)
  
   
[![Vulnerability](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/vulnerability-16px.png
 
'Vulnerability')](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=3553&resolved=false&types=VULNERABILITY)
 
[![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png
 
'A')](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=3553&resolved=false&types=VULNERABILITY)
 [0 
Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=3553&resolved=false&types=VULNERABILITY)
  
   [![Security 
Hotspot](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/security_hotspot-16px.png
 'Security 
Hotspot')](https://sonarcloud.io/project/security_hotspots?id=apache_hive&pullRequest=3553&resolved=false&types=SECURITY_HOTSPOT)
 
[![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png
 
'A')](https://sonarcloud.io/project/security_hotspots?id=apache_hive&pullRequest=3553&resolved=false&types=SECURITY_HOTSPOT)
 [0 Security 
Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_hive&pullRequest=3553&resolved=false&types=SECURITY_HOTSPOT)
  
   [![Code 
Smell](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/code_smell-16px.png
 'Code 
Smell')](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=3553&resolved=false&types=CODE_SMELL)
 
[![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png
 
'A')](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=3553&resolved=false&types=CODE_SMELL)
 [0 Code 
Smells](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=3553&resolved=false&types=CODE_SMELL)
   
   [![No Coverage 
information](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/CoverageChart/NoCoverageInfo-16px.png
 'No Coverage 
information')](https://sonarcloud.io/component_measures?id=apache_hive&pullRequest=3553&metric=coverage&view=list)
 No Coverage information  
   [![No Duplication 
information](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/Duplications/NoDuplicationInfo-16px.png
 'No Duplication 
information')](https://sonarcloud.io/component_measures?id=apache_hive&pullRequest=3553&metric=duplicated_lines_density&view=list)
 No Duplication information
   
   




Issue Time Tracking
-------------------

    Worklog Id:     (was: 805165)
    Time Spent: 50m  (was: 40m)

> Iceberg: `CREATE TABLE LIKE STORED BY ICEBERG` failing with 
> NullPointerException
> --------------------------------------------------------------------------------
>
>                 Key: HIVE-26477
>                 URL: https://issues.apache.org/jira/browse/HIVE-26477
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Manthan B Y
>            Assignee: László Pintér
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> *Steps to Reproduce:*
>  # Open Beeline session
>  # Execute the following queries
> {code:java}
> CREATE TABLE t0(c0 FLOAT, c1 boolean, c2 smallint);
> CREATE TABLE t1 LIKE t0 STORED BY ICEBERG;{code}
> *Result:*
> {code:java}
> Error while compiling statement: FAILED: Execution Error, return code 40000 
> from org.apache.hadoop.hive.ql.ddl.DDLTask. java.lang.NullPointerException at 
> org.apache.hadoop.hive.ql.ddl.table.create.like.CreateTableLikeOperation.setStorage(CreateTableLikeOperation.java:186)
>  at 
> org.apache.hadoop.hive.ql.ddl.table.create.like.CreateTableLikeOperation.createTableLikeTable(CreateTableLikeOperation.java:125)
>  at 
> org.apache.hadoop.hive.ql.ddl.table.create.like.CreateTableLikeOperation.execute(CreateTableLikeOperation.java:65)
>  at org.apache.hadoop.hive.ql.ddl.DDLTask.execute(DDLTask.java:84) at 
> org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:213) at 
> org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:105) 
> at org.apache.hadoop.hive.ql.Executor.launchTask(Executor.java:360) at 
> org.apache.hadoop.hive.ql.Executor.launchTasks(Executor.java:333) at 
> org.apache.hadoop.hive.ql.Executor.runTasks(Executor.java:250) at 
> org.apache.hadoop.hive.ql.Executor.execute(Executor.java:111) at 
> org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:791) at 
> org.apache.hadoop.hive.ql.Driver.run(Driver.java:540) at 
> org.apache.hadoop.hive.ql.Driver.run(Driver.java:534) at 
> org.apache.hadoop.hive.ql.reexec.ReExecDriver.run(ReExecDriver.java:166) at 
> org.apache.hive.service.cli.operation.SQLOperation.runQuery(SQLOperation.java:232)
>  at 
> org.apache.hive.service.cli.operation.SQLOperation.access$700(SQLOperation.java:89)
>  at 
> org.apache.hive.service.cli.operation.SQLOperation$BackgroundWork$1.run(SQLOperation.java:338)
>  at java.security.AccessController.doPrivileged(Native Method) at 
> javax.security.auth.Subject.doAs(Subject.java:422) at 
> org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1899)
>  at 
> org.apache.hive.service.cli.operation.SQLOperation$BackgroundWork.run(SQLOperation.java:358)
>  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) 
> at java.util.concurrent.FutureTask.run(FutureTask.java:266) at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at 
> java.util.concurrent.FutureTask.run(FutureTask.java:266) at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>  at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>  at java.lang.Thread.run(Thread.java:750){code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to