Pārlūkot izejas kodu

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

Romain Rigaux 7 gadi atpakaļ
vecāks
revīzija
5f4efa6
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  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':