chore: auto-commit (95 archivos)
- cmd/fn/doctor.go - cmd/fn/main.go - cpp/apps/primitives_gallery/playground/tables/CMakeLists.txt - cpp/apps/primitives_gallery/playground/tables/data_table.cpp - cpp/apps/primitives_gallery/playground/tables/data_table_logic.cpp - cpp/apps/primitives_gallery/playground/tables/data_table_logic.h - cpp/apps/primitives_gallery/playground/tables/self_test.cpp - cpp/apps/primitives_gallery/playground/tables/tql.cpp - cpp/apps/primitives_gallery/playground/tables/viz.cpp - cpp/apps/primitives_gallery/playground/tables/viz.h - ... Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -652,7 +652,8 @@ bool apply(const std::string& lua_text, State& state,
|
||||
}
|
||||
lua_pop(L, 1);
|
||||
|
||||
// breakout (solo aplica stages >= 1, no-op silencioso si stage 0)
|
||||
// breakout (solo aplica stages >= 1, no-op silencioso si stage 0).
|
||||
// Acepta sufijo ":granularity" para cols Date (fase 10).
|
||||
lua_getfield(L, -1, "breakout");
|
||||
if (lua_istable(L, -1)) {
|
||||
int n = (int)lua_rawlen(L, -1);
|
||||
@@ -660,8 +661,10 @@ bool apply(const std::string& lua_text, State& state,
|
||||
lua_rawgeti(L, -1, i);
|
||||
if (lua_isstring(L, -1)) {
|
||||
std::string bn = lua_tostring(L, -1);
|
||||
if (find_orig_col(cur_headers, bn) < 0) {
|
||||
warn("stage " + std::to_string(si - 1) + ": breakout col \"" + bn + "\" not in input headers");
|
||||
std::string clean;
|
||||
parse_breakout_granularity(bn, clean);
|
||||
if (find_orig_col(cur_headers, clean) < 0) {
|
||||
warn("stage " + std::to_string(si - 1) + ": breakout col \"" + clean + "\" not in input headers");
|
||||
}
|
||||
stg.breakouts.emplace_back(bn);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user