<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 2: 'ON DATA CONVERSION ERROR SKIP' does not work</title><link>https://sourceforge.net/p/cloudbase/bugs/2/</link><description>Recent changes to 2: 'ON DATA CONVERSION ERROR SKIP' does not work</description><atom:link href="https://sourceforge.net/p/cloudbase/bugs/2/feed.rss" rel="self"/><language>en</language><lastBuildDate>Tue, 17 Feb 2009 05:01:32 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/cloudbase/bugs/2/feed.rss" rel="self" type="application/rss+xml"/><item><title>'ON DATA CONVERSION ERROR SKIP' does not work</title><link>https://sourceforge.net/p/cloudbase/bugs/2/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I have a data conversion problem on 'ON ERROR' clause.&lt;br /&gt;
I'd like to skip dirty rows using 'ON DATA CONVERSION ERROR SKIP' clause, but it doesnt work.&lt;/p&gt;
&lt;p&gt;DDL:&lt;br /&gt;
create table MYLOGS&lt;br /&gt;
(anonid  int, query varchar, querytime datetime format 'yyyy-MM-dd&lt;br /&gt;
HH:mm:ss', itemrank  int, clickurl varchar )&lt;br /&gt;
column sep '\t';&lt;/p&gt;
&lt;p&gt;Query:&lt;br /&gt;
select&lt;br /&gt;
year(querytime) as qy, month(querytime) as qm, count(*) as qcnt&lt;br /&gt;
from MYLOGS&lt;br /&gt;
group by qy, qm ON DATA CONVERSION ERROR SKIP&lt;br /&gt;
;&lt;/p&gt;
&lt;p&gt;On Reduce, I got an error:&lt;br /&gt;
java.io.IOException: Could not convert to date:null&lt;br /&gt;
at com.business.cloudbase.hadoop.job.AggFunHandler&lt;br /&gt;
$AggFunReducer.reduce(Unknown Source)&lt;br /&gt;
at com.business.cloudbase.hadoop.job.AggFunHandler&lt;br /&gt;
$AggFunReducer.reduce(Unknown Source)&lt;br /&gt;
at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:&lt;br /&gt;
318)&lt;br /&gt;
at org.apache.hadoop.mapred.TaskTracker$Child.main&lt;br /&gt;
(TaskTracker.java:2198)&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br /&gt;
Youngwoo&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">YoungWoo Kim</dc:creator><pubDate>Tue, 17 Feb 2009 05:01:32 -0000</pubDate><guid>https://sourceforge.net070f2b62e3546fa47d9054bd993d1e356859feef</guid></item></channel></rss>