Преглед изворни кода

HUE-8015 [indexer] Set SQL NULL as Solr empty values so that rows with NULL cells are still indexed

Romain Rigaux пре 7 година
родитељ
комит
5f4efa6
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      desktop/libs/indexer/src/indexer/api3.py

+ 1 - 0
desktop/libs/indexer/src/indexer/api3.py

@@ -278,6 +278,7 @@ def _small_indexing(user, fs, client, source, destination, index_name):
 
   if client.is_solr_six_or_more():
     kwargs['processor'] = 'tolerant'
+    kwargs['map'] = 'NULL:'
 
   try:
     if source['inputFormat'] == 'query':