{"record":{"id":"17eb8597c2dc18cf","repo":"dbt-labs/dbt-core","slug":"column-without-nulls","errorCode":null,"errorMessage":"column_without_nulls","messagePattern":"column_without_nulls","errorType":"panic","errorClass":null,"httpStatus":null,"severity":"error","filePath":"crates/dbt-agate/src/table.rs","lineNumber":230,"sourceCode":"    }\n\n    pub fn single_column_table(&self, idx: isize) -> Option<Arc<TableRepr>> {\n        let idx = self.adjusted_column_index(idx)?;\n        let flat_with_single_column = self.flat.with_single_column(idx);\n        let row_names = self.row_names.as_ref().map(Arc::clone);\n        let repr = TableRepr::new(flat_with_single_column, None, row_names);\n        Some(Arc::new(repr))\n    }\n\n    /// Return a single-column table with the distinct values in this column.\n    pub fn column_distinct(&self, col_idx: isize) -> Arc<Self> {\n        let _col = self.single_column_table(col_idx).unwrap();\n        todo!(\"column_distinct\")\n    }\n\n    pub fn column_without_nulls(&self, col_idx: isize) -> Arc<Self> {\n        let _col = self.single_column_table(col_idx).unwrap();\n        todo!(\"column_without_nulls\")\n    }\n\n    pub fn column_sorted(&self, col_idx: isize) -> Arc<Self> {\n        let _col = self.single_column_table(col_idx).unwrap();\n        todo!(\"column_sorted\")\n    }\n\n    pub fn column_without_nulls_sorted(&self, col_idx: isize) -> Arc<Self> {\n        let _col = self.single_column_table(col_idx).unwrap();\n        todo!(\"column_without_nulls_sorted\")\n    }\n\n    pub fn count_occurrences_of_value_in_column(&self, _needle: &Value, col_idx: isize) -> usize {\n        let _col = self.single_column_table(col_idx).unwrap();\n        todo!(\"count_occurrences_of_value_in_column\")\n    }\n\n    pub fn index_of_value_in_column(&self, _needle: &Value, col_idx: isize) -> Option<usize> {","sourceCodeStart":212,"sourceCodeEnd":248,"githubUrl":"https://github.com/dbt-labs/dbt-core/blob/0267ce9170576975b76b64ce856b2e5848e96617/crates/dbt-agate/src/table.rs#L212-L248","documentation":"Unimplemented agate Table method: column_without_nulls should return a single-column table with null values removed, but the body is a todo!() stub (it already extracts the single column via single_column_table). Any Jinja/Python-parity code calling table.column_without_nulls() aborts here.","triggerScenarios":"Thrown at crates/dbt-agate/src/table.rs:230 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Filter the flat column data to drop null entries, preserving order, and rebuild a TableRepr","Mirror Python agate's column_without_nulls semantics exactly","Until implemented, return a clear unsupported error instead of panicking"],"exampleFix":null,"handlingStrategy":"fallback","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"0267ce9170576975b76b64ce856b2e5848e96617","analyzedAt":"2026-09-07T21:53:39.732Z","contentChangedAt":"2026-09-07T21:53:39.732Z","schemaVersion":2},"datasetVersion":"2026-09-17T15:17:12.973Z"}