Skip to content

Commit

Permalink
Small date deduction fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelS239 authored and chernishev committed Jun 5, 2024
1 parent 873b2e6 commit fe1f7ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/model/table/typed_column_data.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ TypeId TypedColumnDataFactory::DeduceColumnType() const {
auto& type_check = kTypeIdToChecker.at(first_type_id);
if (type_check(unparsed_[i])) {
// undelimited and delimited dates have different bitsets
if (first_type_id == +TypeId::kDate) {
if (first_type_id == +TypeId::kDate && kDelimitedDateCheck(unparsed_[i])) {
candidate_types_bitset &= kTypeIdToBitset.at(first_type_id);
}
continue;
Expand Down

0 comments on commit fe1f7ae

Please sign in to comment.