src/main/java/de/cimt/talendcomp/exasol/EXASCDHelper.java
String createMoveToTempTableStatement() {
		boolean useTimestampInSource = moveToTempTableUseTS();
		String sql = moveToTempTableStart();
		sql += getCslSourceString(false) + ")\n";
		sql += "select ";
		if (useTimestampInSource) {
			sql += "coalesce(" + timeStampInSourceColumn + ", " + validFromDefaultValue + "),";
		}
		sql += getCslSourceString(false) + " from " + getSourceSchemaTable();
		if (!isEmpty(sourceWhereCondition)) {
			sql += " where " + sourceWhereCondition;
		}
		return sql;
	}
/*
	 * Move all data to temp table. When used it is called only once during processing.
	 */
Move all data to temp table. When used it is called only once during processing.
Move all data to temp table . When used it is called only once during processing .
String createMoveToTempTableStatement() {
		boolean useTimestampInSource = moveToTempTableUseTS();
		String sql = moveToTempTableStart();
		sql += getCslSourceString(false) + ")\n";
		sql += "select ";
		if (useTimestampInSource) {
			sql += "coalesce(" + timeStampInSourceColumn + ", " + validFromDefaultValue + "),";
		}
		sql += getCslSourceString(false) + " from " + getSourceSchemaTable();
		if (!isEmpty(sourceWhereCondition)) {
			sql += " where " + sourceWhereCondition;
		}
		return sql;
	}
String createMoveToTempTableStatement ( ) { boolean useTimestampInSource = moveToTempTableUseTS ( ) ; String sql = moveToTempTableStart ( ) ; sql += getCslSourceString ( false ) + ")\n" ; sql += "select " ; if ( useTimestampInSource ) { sql += "coalesce(" + timeStampInSourceColumn + ", " + validFromDefaultValue + ")," ; } sql += getCslSourceString ( false ) + " from " + getSourceSchemaTable ( ) ; if ( ! isEmpty ( sourceWhereCondition ) ) { sql += " where " + sourceWhereCondition ; } return sql ; }
Move all data to temp table.
Move all data to temp table .