Re: DataImportHandler oddity

2013-09-12 Thread Shalin Shekhar Mangar
Thanks. It'd be great if you can update this thread if you ever find a workaround. We will document it on the DataImportHandlerFaq wiki page. http://wiki.apache.org/solr/DataImportHandlerFaq On Thu, Sep 12, 2013 at 4:56 PM, Raymond Wiker wrote: > That sounds reasonable. I've done some more diggi

Re: DataImportHandler oddity

2013-09-12 Thread Raymond Wiker
That sounds reasonable. I've done some more digging, and found that the database instance in this case is an _OLD_ version of Oracle: 9.2.0.8.0. I also tried using the OCI driver (version 12), which refuses to even talk to this database. I have three other databases running on more recent versions

Re: DataImportHandler oddity

2013-09-12 Thread Shalin Shekhar Mangar
This is probably a bug with Oracle thin JDBC driver. Google found a similar issue: http://stackoverflow.com/questions/4168494/resultset-getstring-on-varchar2-column-returns-empty-string I don't think this is specific to DataImportHandler. On Thu, Sep 12, 2013 at 12:43 PM, Raymond Wiker wrote: >

Re: DataImportHandler oddity

2013-09-12 Thread Raymond Wiker
Followup: I just tried modifying the select with select CAST('APPLICATION' as varchar2(100)) as sourceid, ... and that caused the sourceid field to be empty. CASTing to char(100) gave me the expected value ('APPLICATION', right-padded to 100 characters). Meanwhile, google gave me this: http://bu