This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PROJECT_DIR=/home/pentaho/projects | |
KETTLE_REDIRECT_STDERR=Y | |
KETTLE_REDIRECT_STDOUT=Y | |
KETTLE_MAX_LOGGING_REGISTRY_SIZE=10000 | |
KETTLE_LOG_MARK_MAPPINGS=Y | |
KETTLE_JOB_LOG_SCHEMA=pentaho_dilogs | |
KETTLE_JOB_LOG_DB=live_logging_info | |
KETTLE_JOB_LOG_TABLE=job_logs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Grab(group = 'net.sf.opencsv', module = 'opencsv', version = '2.3') | |
import au.com.bytecode.opencsv.CSVReader | |
import au.com.bytecode.opencsv.CSVParser | |
import au.com.bytecode.opencsv.CSVWriter | |
def TEST_FILE_NAME = 'test.csv' | |
def TEST_OUTPUT_FILE_NAME = 'testOut.csv' | |
List<String[]> rows = new CSVReader(new FileReader(new File(TEST_FILE_NAME)), CSVParser.DEFAULT_SEPARATOR, CSVParser.DEFAULT_ESCAPE_CHARACTER, CSVParser.DEFAULT_QUOTE_CHARACTER, 1).readAll() | |
// to filter the resultSet: |