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

ASF GitHub Bot commented on FLINK-4663:
---------------------------------------

GitHub user swapnil-chougule opened a pull request:

    https://github.com/apache/flink/pull/2534

    [FLINK-4663] Flink JDBCOutputFormat logs wrong WARN message - Fixed

    Fixed wrong WARN message logged by JDBCOutputFormat while adding row 
(writing record to prepared statement) as
    "Column SQL types array doesn't match arity of passed Row! Check the passed 
array..."
    even if there is no mismatch is SQL types array & arity of passed Row. 
[FLINK-4663]
    
    - [ ] General
      - The pull request references the related JIRA issue ("[FLINK-4663]")
      - The pull request addresses only one issue
      - Each commit in the PR has a meaningful commit message (including the 
JIRA id)
    
    - [ ] Documentation
      - No need to change documentation for same.
    
    - [ ] Tests & Build
      - Functionality added by the pull request is covered by tests
      - `mvn clean verify` has been executed successfully locally or a Travis 
build has passed
    


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

    $ git pull https://github.com/swapnil-chougule/flink FLINK-4663

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

    https://github.com/apache/flink/pull/2534.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 #2534
    
----
commit a3a3a76164c717f079887a641598e3b9aa6ce484
Author: swapnil-chougule <swapnil.choug...@pubmatic.com>
Date:   2016-09-22T12:31:20Z

    [FLINK-4663] Flink JDBCOutputFormat logs wrong WARN message - Fixed

----


> Flink JDBCOutputFormat logs wrong WARN message
> ----------------------------------------------
>
>                 Key: FLINK-4663
>                 URL: https://issues.apache.org/jira/browse/FLINK-4663
>             Project: Flink
>          Issue Type: Bug
>          Components: Batch Connectors and Input/Output Formats
>    Affects Versions: 1.1.1, 1.1.2
>         Environment: Across Platform
>            Reporter: Swapnil Chougule
>            Assignee: Swapnil Chougule
>             Fix For: 1.1.3
>
>
> Flink JDBCOutputFormat logs wrong WARN message as 
> "Column SQL types array doesn't match arity of passed Row! Check the passed 
> array..."
> even if there is no mismatch is SQL types array & arity of passed Row.
>  
> (flink/flink-batch-connectors/flink-jdbc/src/main/java/org/apache/flink/api/java/io/jdbc/JDBCOutputFormat.java)
> It logs lot of unnecessary warning messages (one per row passed) in log files.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to