[jira] [Updated] (FLINK-7605) JDBCOutputFormat autoCommit
[ https://issues.apache.org/jira/browse/FLINK-7605?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Konstantin Knauf updated FLINK-7605: Labels: stale-assigned (was: auto-closed stale-assigned) Priority: Not a Priority (was: Minor) > JDBCOutputFormat autoCommit > --- > > Key: FLINK-7605 > URL: https://issues.apache.org/jira/browse/FLINK-7605 > Project: Flink > Issue Type: Improvement > Components: Connectors / JDBC >Affects Versions: 1.3.2 >Reporter: Flavio Pompermaier >Assignee: vinoyang >Priority: Not a Priority > Labels: stale-assigned > > Currently, if a connection is not created with autoCommit = true by default > (e.g. Apache Phoenix), no data is written into the database. > So, in the JDBCOutputFormat.open() autoCommit should be forced on the created > Connection, i.e.: > {code:java} > if (!conn.getAutoCommit()) { > conn.setAutoCommit(true); > } > {code} > This should be well documented also.. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Updated] (FLINK-7605) JDBCOutputFormat autoCommit
[ https://issues.apache.org/jira/browse/FLINK-7605?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Flink Jira Bot updated FLINK-7605: -- Labels: stale-assigned stale-minor (was: stale-minor) > JDBCOutputFormat autoCommit > --- > > Key: FLINK-7605 > URL: https://issues.apache.org/jira/browse/FLINK-7605 > Project: Flink > Issue Type: Improvement > Components: Connectors / JDBC >Affects Versions: 1.3.2 >Reporter: Flavio Pompermaier >Assignee: vinoyang >Priority: Minor > Labels: stale-assigned, stale-minor > > Currently, if a connection is not created with autoCommit = true by default > (e.g. Apache Phoenix), no data is written into the database. > So, in the JDBCOutputFormat.open() autoCommit should be forced on the created > Connection, i.e.: > {code:java} > if (!conn.getAutoCommit()) { > conn.setAutoCommit(true); > } > {code} > This should be well documented also.. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Updated] (FLINK-7605) JDBCOutputFormat autoCommit
[ https://issues.apache.org/jira/browse/FLINK-7605?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Flink Jira Bot updated FLINK-7605: -- Labels: stale-minor (was: ) > JDBCOutputFormat autoCommit > --- > > Key: FLINK-7605 > URL: https://issues.apache.org/jira/browse/FLINK-7605 > Project: Flink > Issue Type: Improvement > Components: Connectors / JDBC >Affects Versions: 1.3.2 >Reporter: Flavio Pompermaier >Assignee: vinoyang >Priority: Minor > Labels: stale-minor > > Currently, if a connection is not created with autoCommit = true by default > (e.g. Apache Phoenix), no data is written into the database. > So, in the JDBCOutputFormat.open() autoCommit should be forced on the created > Connection, i.e.: > {code:java} > if (!conn.getAutoCommit()) { > conn.setAutoCommit(true); > } > {code} > This should be well documented also.. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Updated] (FLINK-7605) JDBCOutputFormat autoCommit
[ https://issues.apache.org/jira/browse/FLINK-7605?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Metzger updated FLINK-7605: -- Component/s: (was: Batch Connectors and Input/Output Formats) Connectors / JDBC > JDBCOutputFormat autoCommit > --- > > Key: FLINK-7605 > URL: https://issues.apache.org/jira/browse/FLINK-7605 > Project: Flink > Issue Type: Improvement > Components: Connectors / JDBC >Affects Versions: 1.3.2 >Reporter: Flavio Pompermaier >Priority: Minor > > Currently, if a connection is not created with autoCommit = true by default > (e.g. Apache Phoenix), no data is written into the database. > So, in the JDBCOutputFormat.open() autoCommit should be forced on the created > Connection, i.e.: > {code:java} > if (!conn.getAutoCommit()) { > conn.setAutoCommit(true); > } > {code} > This should be well documented also.. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (FLINK-7605) JDBCOutputFormat autoCommit
[ https://issues.apache.org/jira/browse/FLINK-7605?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Flavio Pompermaier updated FLINK-7605: -- Description: Currently, if a connection is not created with autoCommit = true by default (e.g. Apache Phoenix), no data is written into the database. So, in the JDBCOutputFormat.open() autoCommit should be forced on the created Connection, i.e.: {code:java} if (!conn.getAutoCommit()) { conn.setAutoCommit(true); } {code} This should be well documented also.. was: Currently, if a connection is not created with autoCommit = true by default (e.g. Apache Phoenix), no data is written into the database. So, in the JDBCOutputFormat.open() autoCommit should be forced on the created Connection, i.e.: { if (!conn.getAutoCommit()) { conn.setAutoCommit(true); } } This should be well documented also.. > JDBCOutputFormat autoCommit > --- > > Key: FLINK-7605 > URL: https://issues.apache.org/jira/browse/FLINK-7605 > Project: Flink > Issue Type: Improvement > Components: Batch Connectors and Input/Output Formats >Affects Versions: 1.3.2 >Reporter: Flavio Pompermaier >Priority: Minor > > Currently, if a connection is not created with autoCommit = true by default > (e.g. Apache Phoenix), no data is written into the database. > So, in the JDBCOutputFormat.open() autoCommit should be forced on the created > Connection, i.e.: > {code:java} > if (!conn.getAutoCommit()) { > conn.setAutoCommit(true); > } > {code} > This should be well documented also.. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (FLINK-7605) JDBCOutputFormat autoCommit
[ https://issues.apache.org/jira/browse/FLINK-7605?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Flavio Pompermaier updated FLINK-7605: -- Description: Currently, if a connection is not created with autoCommit = true by default (e.g. Apache Phoenix), no data is written into the database. So, in the JDBCOutputFormat.open() autoCommit should be forced on the created Connection, i.e.: {{ if (!conn.getAutoCommit()) { conn.setAutoCommit(true); } }} This should be well documented also.. was: Currently, if a connection is not created with autoCommit = true by default (e.g. Apache Phoenix), no data is written into the database. So, in the JDBCOutputFormat.open() autoCommit should be forced on the created Connection, i.e.: {quote} if (!conn.getAutoCommit()) { conn.setAutoCommit(true); } {quote} This should be well documented also.. > JDBCOutputFormat autoCommit > --- > > Key: FLINK-7605 > URL: https://issues.apache.org/jira/browse/FLINK-7605 > Project: Flink > Issue Type: Improvement > Components: Batch Connectors and Input/Output Formats >Affects Versions: 1.3.2 >Reporter: Flavio Pompermaier >Priority: Minor > > Currently, if a connection is not created with autoCommit = true by default > (e.g. Apache Phoenix), no data is written into the database. > So, in the JDBCOutputFormat.open() autoCommit should be forced on the created > Connection, i.e.: > {{ > if (!conn.getAutoCommit()) { > conn.setAutoCommit(true); > } > }} > This should be well documented also.. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (FLINK-7605) JDBCOutputFormat autoCommit
[ https://issues.apache.org/jira/browse/FLINK-7605?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Flavio Pompermaier updated FLINK-7605: -- Description: Currently, if a connection is not created with autoCommit = true by default (e.g. Apache Phoenix), no data is written into the database. So, in the JDBCOutputFormat.open() autoCommit should be forced on the created Connection, i.e.: { if (!conn.getAutoCommit()) { conn.setAutoCommit(true); } } This should be well documented also.. was: Currently, if a connection is not created with autoCommit = true by default (e.g. Apache Phoenix), no data is written into the database. So, in the JDBCOutputFormat.open() autoCommit should be forced on the created Connection, i.e.: {{ if (!conn.getAutoCommit()) { conn.setAutoCommit(true); } }} This should be well documented also.. > JDBCOutputFormat autoCommit > --- > > Key: FLINK-7605 > URL: https://issues.apache.org/jira/browse/FLINK-7605 > Project: Flink > Issue Type: Improvement > Components: Batch Connectors and Input/Output Formats >Affects Versions: 1.3.2 >Reporter: Flavio Pompermaier >Priority: Minor > > Currently, if a connection is not created with autoCommit = true by default > (e.g. Apache Phoenix), no data is written into the database. > So, in the JDBCOutputFormat.open() autoCommit should be forced on the created > Connection, i.e.: > { > if (!conn.getAutoCommit()) { > conn.setAutoCommit(true); > } > } > This should be well documented also.. -- This message was sent by Atlassian JIRA (v6.4.14#64029)