Skip to content

Commit

Permalink
ble no need to inline and ; baddy
Browse files Browse the repository at this point in the history
  • Loading branch information
pdet committed Apr 18, 2024
1 parent 180fbf2 commit 9da0f63
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,8 @@ bool CSVSniffer::IsCasteable(const string_t value, const LogicalType &type, cons
return str_value.TryCastAs(buffer_manager->context, type, new_value, &error_message, true);
}
}
};
}

void CSVSniffer::InitializeDateAndTimeStampDetection(CSVStateMachine &candidate, const string &separator,
const LogicalType &sql_type) {
auto &format_candidate = format_candidates[sql_type.id()];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,8 @@ class CSVSniffer {
void DetectDateAndTimeStampFormats(CSVStateMachine &candidate, const LogicalType &sql_type, const string &separator,
string_t &dummy_val);
//! If a string_t value can be cast to a type
inline bool IsCasteable(const string_t value, const LogicalType &type, const DialectOptions &dialect_options,
const bool is_null);
bool IsCasteable(const string_t value, const LogicalType &type, const DialectOptions &dialect_options,
const bool is_null);

//! Variables for Type Detection
//! Format Candidates for Date and Timestamp Types
Expand Down

0 comments on commit 9da0f63

Please sign in to comment.