Options

[SOLVED] ReadCSV escape characters disappear even when quotes disabled

tennenrishintennenrishin Member Posts: 177 Contributor II
edited November 2018 in Help
If the ReadCSV operator's "use quotes" parameter is off, the "escape character for quotes" parameter is hidden. This suggests that the "escape character for quotes" is only relevant when "use quotes" is on.

However, even with "use quotes" off, my ReadCSV operator seems to be removing '\' characters from the read content, unless I set "escape character for quotes" to some other character.
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<process version="5.3.005">
 <context>
   <input/>
   <output/>
   <macros/>
 </context>
 <operator activated="true" class="process" compatibility="5.3.005" expanded="true" name="Process">
   <process expanded="true">
     <operator activated="true" class="read_csv" compatibility="5.3.005" expanded="true" height="60" name="Read CSV" width="90" x="112" y="75">
       <parameter key="csv_file" value="C:\Users\isak\Desktop\a.txt"/>
       <parameter key="use_quotes" value="false"/>
       <parameter key="parse_numbers" value="false"/>
       <list key="annotations"/>
       <list key="data_set_meta_data_information">
         <parameter key="0" value="content.true.nominal.attribute"/>
       </list>
     </operator>
     <connect from_op="Read CSV" from_port="output" to_port="result 1"/>
     <portSpacing port="source_input 1" spacing="0"/>
     <portSpacing port="sink_result 1" spacing="0"/>
     <portSpacing port="sink_result 2" spacing="0"/>
   </process>
 </operator>
</process>
[quote=a.txt]1
.*,CLS\(.*[/quote]

Answers

  • Options
    MariusHelfMariusHelf RapidMiner Certified Expert, Member Posts: 1,869 Unicorn
    Thanks for reporting. I have created an internal bug report.

    Best regards,
    Marius
  • Options
    SkirzynskiSkirzynski Member Posts: 164 Maven
    We have renamed the parameter ("escape_character") and removed the parameter dependency (i.e. the parameter is always displayed) to make clear that this character will not only be used for quotes. The next release will contain these changes.
Sign In or Register to comment.