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

ASF GitHub Bot commented on TRAFODION-2637:
-------------------------------------------

GitHub user zellerh opened a pull request:

    https://github.com/apache/incubator-trafodion/pull/1150

    Fix for udr/TEST001 test failure

    My earlier change for TRAFODION-2637 (PR #1141) caused a
    non-deterministic failure of test udr/TEST001 and probably also
    TEST002.
    
    I added code that enables more parallel execution for TMUDFs.  The
    tests have SELECT statements for these UDFs in them. Normally, the
    logsort program sorts the output of these queries, so random
    differences caused by parallel queries are ignored. However, some UDF
    query have the keywords ORDER BY in them, not for the main query, but
    for the inner query that is the child of the UDF. That suppressed
    sorting and caused a difference.
    
    The fix is to add an ORDER BY for the main query when we could expect
    a non-deterministic order and when the child query of the UDF uses
    ORDER BY.
    
    @DaveBirdsall  suggested that we could also change the logsort program to
    recognize different types of ORDER BY, but this is probably not needed
    right now.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/zellerh/incubator-trafodion bug/r2.2

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-trafodion/pull/1150.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1150
    
----
commit 4d4b220d601465d6a3ceca5b976d4a7b1e06c6d6
Author: Hans Zeller <hzel...@apache.org>
Date:   2017-06-27T21:59:28Z

    Fix for udr/TEST001 test failure
    
    My earlier change for TRAFODION-2637 (PR #1141) caused a
    non-deterministic failure of test udr/TEST001 and probably also
    TEST002.
    
    I added code that enables more parallel execution for TMUDFs.  The
    tests have SELECT statements for these UDFs in them. Normally, the
    logsort program sorts the output of these queries, so random
    differences caused by parallel queries are ignored. However, some UDF
    query have the keywords ORDER BY in them, not for the main query, but
    for the inner query that is the child of the UDF. That suppressed
    sorting and caused a difference.
    
    The fix is to add an ORDER BY for the main query when we could expect
    a non-deterministic order and when the child query of the UDF uses
    ORDER BY.
    
    Dave suggested that we could also change the logsort program to
    recognize different types of ORDER BY, but this is probably not needed
    right now.

----


> Library management in the absence of password-less ssh
> ------------------------------------------------------
>
>                 Key: TRAFODION-2637
>                 URL: https://issues.apache.org/jira/browse/TRAFODION-2637
>             Project: Apache Trafodion
>          Issue Type: Bug
>          Components: sql-general
>    Affects Versions: 2.1-incubating
>            Reporter: Hans Zeller
>            Assignee: Hans Zeller
>             Fix For: 2.2-incubating
>
>
> We have a set of built-in stored procedures that can be used to deploy 
> libraries for UDRs to a Trafodion cluster. Some of these stored procedures 
> rely on the pdsh command, which in turn relies on password-less ssh between 
> the nodes of a cluster. Some installations, however, don't support 
> password-less ssh. We therefore need to find another method to distribute the 
> files.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to