[ https://issues.apache.org/jira/browse/PIG-3273?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bill Graham updated PIG-3273: ----------------------------- Description: {{pig -r myscript.pig}} will silently fail without producing output or error messaging for the following script: {noformat} %default STORAGE_WITH_SCHEMA org.apache.pig.builtin.PigStorage('\t', '-schema') A = LOAD 'foo' using $STORAGE_WITH_SCHEMA; dump A; {noformat} Changing the first line to any of these will cause dry run to parse without problems: {noformat} %default STORAGE_WITH_SCHEMA org.apache.pig.builtin.PigStorage('\\t') %default STORAGE_WITH_SCHEMA "org.apache.pig.builtin.PigStorage('\\t', '-schema')" %default STORAGE_WITH_SCHEMA 'org.apache.pig.builtin.PigStorage(\'\\t\', \'-schema\')' {noformat} Issue seems to be with more then one set of single quotes that are not outer. was: {{pig -r myscript.pig}} will silently fail without producing output or error messaging for the following script: {noformat} %default STORAGE_WITH_SCHEMA org.apache.pig.builtin.PigStorage('\t', '-schema') A = LOAD 'foo' using $STORAGE_WITH_SCHEMA; dump A; {noformat} Changing the first line to any of these will cause dry run to parse without problems: {noformat} %default STORAGE_WITH_SCHEMA org.apache.pig.builtin.PigStorage('\t') %default STORAGE_WITH_SCHEMA "org.apache.pig.builtin.PigStorage('\t', '-schema')" %default STORAGE_WITH_SCHEMA 'org.apache.pig.builtin.PigStorage(\'\t\', \'-schema\')' {noformat} Issue seems to be with more then one set of single quotes that are not outer. > bad %default directives can cause pig dry run to silently fail > -------------------------------------------------------------- > > Key: PIG-3273 > URL: https://issues.apache.org/jira/browse/PIG-3273 > Project: Pig > Issue Type: Bug > Reporter: Bill Graham > > {{pig -r myscript.pig}} will silently fail without producing output or error > messaging for the following script: > {noformat} > %default STORAGE_WITH_SCHEMA org.apache.pig.builtin.PigStorage('\t', > '-schema') > A = LOAD 'foo' using $STORAGE_WITH_SCHEMA; > dump A; > {noformat} > Changing the first line to any of these will cause dry run to parse without > problems: > {noformat} > %default STORAGE_WITH_SCHEMA org.apache.pig.builtin.PigStorage('\\t') > %default STORAGE_WITH_SCHEMA "org.apache.pig.builtin.PigStorage('\\t', > '-schema')" > %default STORAGE_WITH_SCHEMA 'org.apache.pig.builtin.PigStorage(\'\\t\', > \'-schema\')' > {noformat} > Issue seems to be with more then one set of single quotes that are not outer. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira