| 7 | { |
| 8 | |
| 9 | WriteSettings getWriteSettings() |
| 10 | { |
| 11 | auto query_context = CurrentThread::tryGetQueryContext(); |
| 12 | if (query_context) |
| 13 | return query_context->getWriteSettings(); |
| 14 | |
| 15 | auto global_context = Context::getGlobalContextInstance(); |
| 16 | if (global_context) |
| 17 | return global_context->getWriteSettings(); |
| 18 | |
| 19 | return {}; |
| 20 | } |
| 21 | |
| 22 | WriteSettings getWriteSettingsForMetadata() |
| 23 | { |
no test coverage detected