The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
"[SOLVED] Accessing Text Data in Blob in MySQL"
I'm trying to access a text stored in a Blob field in MySQL. However as I'm putting my job together I"m getting an error message:
The example set must contain at least one text attribute.
It doesn't seem like Rapid understands that there might be text data in that binary field. I"m trying to figure out how to do the conversion so that Rapid Miner understands what is going on here. I"m attempting to connect my Read Database component to my Process Documents from Data component so that the Process Documents from Data Component can execute upon the text residing in the binary field. Is there a way to do this conversion in RapidMiner?
The example set must contain at least one text attribute.
It doesn't seem like Rapid understands that there might be text data in that binary field. I"m trying to figure out how to do the conversion so that Rapid Miner understands what is going on here. I"m attempting to connect my Read Database component to my Process Documents from Data component so that the Process Documents from Data Component can execute upon the text residing in the binary field. Is there a way to do this conversion in RapidMiner?
Tagged:
0
Answers
It's probably because you need to change the type of the attribute you're interested in to text. Use the "nominal to text" operator.
Regards,
Andrew
Dec 16, 2012 11:39:00 PM SEVERE: Process failed: operator cannot be executed (java.lang.String cannot be cast to org.jdom.Text). Check the log messages...
Dec 16, 2012 11:39:00 PM SEVERE: Here: Process[1] (Process)
subprocess 'Main Process'
+- Read Database[1] (Read Database)
+- Nominal to Text[1] (Nominal to Text)
+- Process Documents from Data[1] (Process Documents from Data)
subprocess 'Vector Creation'
==> +- Extract Information[1] (Extract Information)
Is there something I need to do before I can process an xml string with XPath?
Andrew
I tried with some local data and it seems the output from the read database operator is already of the right type so the conversion is not necessary. So I've learned something
Try unchecking "assume html" on the "extract information" operator.
Andrew