Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.
Originally posted by: skimThe "bug" is not what it seemed. The cause of the error was coming from the fact that
emit section is evaluated before
where section. For example:
[code:1] emit
date(str_val.substr(3,8), "CCYYMMDD")
where
isDate(str_val, "CCYYMMDD")
[/code:1]
input:
[code:1] HDR v1.0[/li]
DAT20070111
[/code:1]
I had expected
where would be evaluated first, hence the first row will not be evaluated, but that was not the case.
emit section attempted to evaluate the first row (which is empty) and failed before reaching
where section.
Perhaps this can be a bug, a feature, or user training issue.
Post edited by: skim, at: 2007/08/06 03:09
Post edited by: skim, at: 2007/08/06 03:10<br><br>Post edited by: skim, at: 2007/08/06 03:17