소스 검색

[indexer] Use tdate instead of date when choosing types

Abraham Elmahrek 11 년 전
부모
커밋
c640bf22dd
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      desktop/libs/indexer/src/indexer/utils.py

+ 1 - 1
desktop/libs/indexer/src/indexer/utils.py

@@ -103,7 +103,7 @@ def get_field_types(row):
   test_fns = [('int', int),
               ('float', float),
               ('boolean', test_boolean),
-              ('date', test_timestamp)]
+              ('tdate', test_timestamp)]
   field_types = []
   for field in row:
     field_type = None