LuciferYang edited a comment on pull request #30518:
URL: https://github.com/apache/spark/pull/30518#issuecomment-734341347


   The original case described in SPARK-33566 as follows:
   
   **data**:
   ```
   "h1","h2","h3"
   "one","two","three"
   "abc","^@<b><i><span style=""font-family: tahoma,sans-serif;"">Referral from 
Joe Smith.<A0> Fred is hard working.<A0> Super smart, though you wouldn&#39;t 
know it at first.<A0> 6 months, and we sold this project.<A0> Phooey he said to 
me!<A0> What&#39;s up with you people.<A0> You&#39;ll say anything for a 
sale!<A0> Until he met me of course....haar 
haar!</span></i></b><br><A0><br><b><i><span style=""font-family: 
tahoma,sans-serif;"">Internet is spotty</span></i></b><br><b><i><span 
style=""font-family: tahoma,sans-serif;"">Working while at home so.<A0> Will be 
applied this weekend. <A0></span></i></b><br><A0><br><b><i><span 
style=""font-family: tahoma,sans-serif;"">On Bill Recovery and 20 yr warranty 
added.</span></i></b><br><A0><br><b><i><span style=""font-family: 
tahoma,sans-serif;"">Kindness made this deal 
happen!</span></i></b><br><A0>","xyz"
   ```
   
   **opencsv and commons-csv parse row2 of h2 as follows:**
   
   ```
   ^@<b><i><span style=""font-family: tahoma,sans-serif;"">Referral from Joe 
Smith.<A0> Fred is hard working.<A0> Super smart, though you wouldn&#39;t know 
it at first.<A0> 6 months, and we sold this project.<A0> Phooey he said to 
me!<A0> What&#39;s up with you people.<A0> You&#39;ll say anything for a 
sale!<A0> Until he met me of course....haar 
haar!</span></i></b><br><A0><br><b><i><span style=""font-family: 
tahoma,sans-serif;"">Internet is spotty</span></i></b><br><b><i><span 
style=""font-family: tahoma,sans-serif;"">Working while at home so.<A0> Will be 
applied this weekend. <A0></span></i></b><br><A0><br><b><i><span 
style=""font-family: tahoma,sans-serif;"">On Bill Recovery and 20 yr warranty 
added.</span></i></b><br><A0><br><b><i><span style=""font-family: 
tahoma,sans-serif;"">Kindness made this deal happen!</span></i></b><br><A0>
   ```
   
   **Without this pr Spark  parse row2 of h2 as follows:**
   
   ```
   ^@<b><i><span style=""font-family: tahoma
   ```
   
   
   
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to