HUE-9517 [solr] CSV file with pipe seperator or any seperator when importing

Review Request #15525 — Created Oct. 27, 2020 and submitted

quadoss
hue
master
HUE-9517
hue
asnaik, johan, ranade, romain, weixia, yingc
commit 3b8aefaab7291fbabd1a6addb6d49914c1f151d5
Author: Mahesh Balakrishnan <mbalakrishnan@cloudera.com>
Date:   Tue Oct 27 15:31:54 2020 -0700

    HUE-9517 [solr] fix for CSV file with pipe seperator or any seperator when importing

:100644 100644 900e03445e dfaa814058 M	desktop/libs/indexer/src/indexer/api3.py

Testing this manually for a customer issue.

  • 0
  • 0
  • 2
  • 0
  • 2
Description From Last Updated
yingc
  1. 
      
  2. I think lint style check will complaint fieldSeparator==',', so fieldSeparator == ',' having a space front and back of ==

    1. done fixing the spacing issue.

  3. 
      
quadoss
romain
  1. Nice!

  2. Why not just?

    kwargs['separator'] = source['format']['fieldSeparator']

  3. 
      
quadoss
quadoss
Review request changed

Status: Closed (submitted)

Loading...