APT_IMPORT_PATTERN_USES_FILESET issue
Posted: Tue Jun 08, 2010 12:02 pm
Hi All ,
I am facing a strange issue while using $APT_IMPORT_PATTERN_USES_FILESET parameter. Here is the situation where i am .
I have a folder in which my files resided as shown below:
DUMMY_20090727_FY2008_104367100_R01_IN
DUMMY_IN
DUMMY_20090727_FY2008_104367100_R01_IN_YYYYNNNY
DUMMY_20090727_FY2008_104367100_R01_IN_YYYYNNNN
DUMMY_20090727_FY2008_104367100_R01_IN_YYYYNYYY
and i read them via a sequential file as *IN* with file_pattern mode and $APT_IMPORT_PATTERN_USES_FILESET set to TRUE to have the file names.And here are the counts for the files and you can see the total count from all the files in unix as 103024 as below:
20828 DUMMY_20090727_FY2008_104367100_R01_IN
19712 DUMMY_IN
20828 DUMMY_20090727_FY2008_104367100_R01_IN_YYYYNNNY
20828 DUMMY_20090727_FY2008_104367100_R01_IN_YYYYNNNN
20828 DUMMY_20090727_FY2008_104367100_R01_IN_YYYYNYYY
103024 total
And i checked the count from the table by grouping by on the file name, once i loaded and the counts differ from the files which i see from the table where as the total record count matches correctly.
i
DB COUNT FROM THE TABLE WHEN I DO A GROUP BY:
15665 DUMMY_20090727_FY2008_104367100_R01_IN
29153 DUMMY_20090727_FY2008_104367100_R01_IN_YYYYNNNN
20828 DUMMY_20090727_FY2008_104367100_R01_IN_YYYYNNNY
25991 DUMMY_20090727_FY2008_104367100_R01_IN_YYYYNYYY
11387 DUMMY_IN
103024
Kindly suggest if i am missing anything here?
Thanks,
Rajesh
I am facing a strange issue while using $APT_IMPORT_PATTERN_USES_FILESET parameter. Here is the situation where i am .
I have a folder in which my files resided as shown below:
DUMMY_20090727_FY2008_104367100_R01_IN
DUMMY_IN
DUMMY_20090727_FY2008_104367100_R01_IN_YYYYNNNY
DUMMY_20090727_FY2008_104367100_R01_IN_YYYYNNNN
DUMMY_20090727_FY2008_104367100_R01_IN_YYYYNYYY
and i read them via a sequential file as *IN* with file_pattern mode and $APT_IMPORT_PATTERN_USES_FILESET set to TRUE to have the file names.And here are the counts for the files and you can see the total count from all the files in unix as 103024 as below:
20828 DUMMY_20090727_FY2008_104367100_R01_IN
19712 DUMMY_IN
20828 DUMMY_20090727_FY2008_104367100_R01_IN_YYYYNNNY
20828 DUMMY_20090727_FY2008_104367100_R01_IN_YYYYNNNN
20828 DUMMY_20090727_FY2008_104367100_R01_IN_YYYYNYYY
103024 total
And i checked the count from the table by grouping by on the file name, once i loaded and the counts differ from the files which i see from the table where as the total record count matches correctly.
i
DB COUNT FROM THE TABLE WHEN I DO A GROUP BY:
15665 DUMMY_20090727_FY2008_104367100_R01_IN
29153 DUMMY_20090727_FY2008_104367100_R01_IN_YYYYNNNN
20828 DUMMY_20090727_FY2008_104367100_R01_IN_YYYYNNNY
25991 DUMMY_20090727_FY2008_104367100_R01_IN_YYYYNYYY
11387 DUMMY_IN
103024
Kindly suggest if i am missing anything here?
Thanks,
Rajesh