[jira] [Commented] (PIG-5377) Move supportsParallelWriteToStoreLocation from StoreFunc to StoreFuncInterfce

2020-01-09 Thread Koji Noguchi (Jira)


[ 
https://issues.apache.org/jira/browse/PIG-5377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17012274#comment-17012274
 ] 

Koji Noguchi commented on PIG-5377:
---

[~rohini], did you forget to commit the patch? 

> Move supportsParallelWriteToStoreLocation from StoreFunc to StoreFuncInterfce
> -
>
> Key: PIG-5377
> URL: https://issues.apache.org/jira/browse/PIG-5377
> Project: Pig
>  Issue Type: Improvement
>  Components: internal-udfs, piggybank
>Reporter: Kevin J. Price
>Assignee: Kevin J. Price
>Priority: Minor
> Attachments: PIG-5377-2.patch, PIG-5377.patch
>
>
> Now that we're running on JDK8 and can have default implementations in 
> interfaces, we can move supportsParallelWriteToStoreLocation() to the 
> StoreFuncInterface class and properly set it on the supported built-in 
> functions rather than having a static list.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (PIG-5377) Move supportsParallelWriteToStoreLocation from StoreFunc to StoreFuncInterfce

2019-02-18 Thread Rohini Palaniswamy (JIRA)


[ 
https://issues.apache.org/jira/browse/PIG-5377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16771219#comment-16771219
 ] 

Rohini Palaniswamy commented on PIG-5377:
-

+1

> Move supportsParallelWriteToStoreLocation from StoreFunc to StoreFuncInterfce
> -
>
> Key: PIG-5377
> URL: https://issues.apache.org/jira/browse/PIG-5377
> Project: Pig
>  Issue Type: Improvement
>  Components: internal-udfs, piggybank
>Reporter: Kevin J. Price
>Assignee: Kevin J. Price
>Priority: Minor
> Attachments: PIG-5377-2.patch, PIG-5377.patch
>
>
> Now that we're running on JDK8 and can have default implementations in 
> interfaces, we can move supportsParallelWriteToStoreLocation() to the 
> StoreFuncInterface class and properly set it on the supported built-in 
> functions rather than having a static list.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (PIG-5377) Move supportsParallelWriteToStoreLocation from StoreFunc to StoreFuncInterfce

2019-02-15 Thread Rohini Palaniswamy (JIRA)


[ 
https://issues.apache.org/jira/browse/PIG-5377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16769653#comment-16769653
 ] 

Rohini Palaniswamy commented on PIG-5377:
-

4) Can you also return false from org.apache.pig.piggybank.storage.DBStorage 
and org.apache.pig.piggybank.storage.MultiStorage


> Move supportsParallelWriteToStoreLocation from StoreFunc to StoreFuncInterfce
> -
>
> Key: PIG-5377
> URL: https://issues.apache.org/jira/browse/PIG-5377
> Project: Pig
>  Issue Type: Improvement
>  Components: internal-udfs, piggybank
>Reporter: Kevin J. Price
>Assignee: Kevin J. Price
>Priority: Minor
> Attachments: PIG-5377.patch
>
>
> Now that we're running on JDK8 and can have default implementations in 
> interfaces, we can move supportsParallelWriteToStoreLocation() to the 
> StoreFuncInterface class and properly set it on the supported built-in 
> functions rather than having a static list.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (PIG-5377) Move supportsParallelWriteToStoreLocation from StoreFunc to StoreFuncInterfce

2019-02-15 Thread Rohini Palaniswamy (JIRA)


[ 
https://issues.apache.org/jira/browse/PIG-5377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16769645#comment-16769645
 ] 

Rohini Palaniswamy commented on PIG-5377:
-

Just couple of minor comments. 

1) Can you rename testUnionUnSupportedStore -> testUnionIncludeExcludeStoreFunc 
and move the test code with TEZC-Union-1-DummyStore3.gld from testUnionStore  
after TEZC-Union-1-DummyStore2.gld. 

2) TestDummyStoreFuncOptimizationEnabled -> 
TestDummyStoreFuncParallelWriteEnabled
TestDummyStoreFuncOptimizationDisabled -> 
TestDummyStoreFuncParallelWriteDisabled

3) Can you add the LOG.warn(name + " does not support union optimization. 
Disabling it. There will be some performance degradation."); msg to 
unsupportedStoreFuncs != null && unsupportedStoreFuncs.contains(name) block as 
well?


> Move supportsParallelWriteToStoreLocation from StoreFunc to StoreFuncInterfce
> -
>
> Key: PIG-5377
> URL: https://issues.apache.org/jira/browse/PIG-5377
> Project: Pig
>  Issue Type: Improvement
>  Components: internal-udfs, piggybank
>Reporter: Kevin J. Price
>Assignee: Kevin J. Price
>Priority: Minor
> Attachments: PIG-5377.patch
>
>
> Now that we're running on JDK8 and can have default implementations in 
> interfaces, we can move supportsParallelWriteToStoreLocation() to the 
> StoreFuncInterface class and properly set it on the supported built-in 
> functions rather than having a static list.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)