[ 
https://issues.apache.org/jira/browse/SPARK-28848?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hyukjin Kwon updated SPARK-28848:
---------------------------------
    Description: 
{code}
0: jdbc:hive2://10.18.18.214:23040/func> insert overwrite local directory 
'/opt/trash4/' stored as parquet select * from trash1 a where a.country='PAK';
+---------+--+
| Result  |
+---------+--+
+---------+--+
No rows selected (1.368 seconds)
{code}

Data file at local directory path:

{code}
vm1:/opt/trash4 # ll
total 12
-rw-r--r-- 1 root root   8 Aug 22 14:30 ._SUCCESS.crc
-rw-r--r-- 1 root root  16 Aug 22 14:30 
.part-00001-2b17ec6a-ef7e-4b45-927e-f93b88ff4f65-c000.crc
-rw-r--r-- 1 root root   0 Aug 22 14:30 _SUCCESS
-rw-r--r-- 1 root root 619 Aug 22 14:30 
part-00001-2b17ec6a-ef7e-4b45-927e-f93b88ff4f65-c000
{code}

  was:

0: jdbc:hive2://10.18.18.214:23040/func> insert overwrite local directory 
'/opt/trash4/' stored as parquet select * from trash1 a where a.country='PAK';
+---------+--+
| Result  |
+---------+--+
+---------+--+
No rows selected (1.368 seconds)
Data file at local directory path:
vm1:/opt/trash4 # ll
total 12
-rw-r--r-- 1 root root   8 Aug 22 14:30 ._SUCCESS.crc
-rw-r--r-- 1 root root  16 Aug 22 14:30 
.part-00001-2b17ec6a-ef7e-4b45-927e-f93b88ff4f65-c000.crc
-rw-r--r-- 1 root root   0 Aug 22 14:30 _SUCCESS
-rw-r--r-- 1 root root 619 Aug 22 14:30 
part-00001-2b17ec6a-ef7e-4b45-927e-f93b88ff4f65-c000



> insert overwrite local directory <path> stored as parquet does not creates 
> snappy.parquet data file at local directory path
> ---------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SPARK-28848
>                 URL: https://issues.apache.org/jira/browse/SPARK-28848
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.4.3
>            Reporter: ABHISHEK KUMAR GUPTA
>            Priority: Major
>
> {code}
> 0: jdbc:hive2://10.18.18.214:23040/func> insert overwrite local directory 
> '/opt/trash4/' stored as parquet select * from trash1 a where a.country='PAK';
> +---------+--+
> | Result  |
> +---------+--+
> +---------+--+
> No rows selected (1.368 seconds)
> {code}
> Data file at local directory path:
> {code}
> vm1:/opt/trash4 # ll
> total 12
> -rw-r--r-- 1 root root   8 Aug 22 14:30 ._SUCCESS.crc
> -rw-r--r-- 1 root root  16 Aug 22 14:30 
> .part-00001-2b17ec6a-ef7e-4b45-927e-f93b88ff4f65-c000.crc
> -rw-r--r-- 1 root root   0 Aug 22 14:30 _SUCCESS
> -rw-r--r-- 1 root root 619 Aug 22 14:30 
> part-00001-2b17ec6a-ef7e-4b45-927e-f93b88ff4f65-c000
> {code}



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to