{"slug":"does-the-us-market-close-for-brazilian-holidays","qid":"calendar_summary","label":"calendar_summary","post_title":"does-the-us-market-close-for-brazilian-holidays","post_url":"/blog/lang/pt/does-the-us-market-close-for-brazilian-holidays#q-calendar_summary","columns":["full_closures_ahead","early_closes_ahead","total_closures_ahead","next_closure_pt","calendar_from_br","calendar_through_br"],"rows":[{"full_closures_ahead":10,"early_closes_ahead":2,"total_closures_ahead":12,"next_closure_pt":"26 de novembro de 2026","calendar_from_br":"26/11/2026","calendar_through_br":"06/09/2027"}],"shape":"scalar","sql":"SELECT\n    countDistinctIf(date, status = 'closed')      AS full_closures_ahead,\n    countDistinctIf(date, status = 'early-close') AS early_closes_ahead,\n    countDistinct(date)                           AS total_closures_ahead,\n    concat(toString(toDayOfMonth(min(date))), ' de ',\n           arrayElement(['janeiro', 'fevereiro', 'março', 'abril', 'maio', 'junho',\n                         'julho', 'agosto', 'setembro', 'outubro', 'novembro', 'dezembro'],\n                        toMonth(min(date))),\n           ' de ', toString(toYear(min(date))))   AS next_closure_pt,\n    formatDateTime(min(date), '%d/%m/%Y')         AS calendar_from_br,\n    formatDateTime(max(date), '%d/%m/%Y')         AS calendar_through_br\nFROM global_markets.stocks_market_holidays\nWHERE date >= today()","computed_at":"2026-11-01T01:49:11.304747+00:00","elapsed":0.016080587}