فهرست منبع

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':