Session infrastructure: OpenRouter + tree-split reducer + observer→LLM Team + scrum_applier #11
@ -2,12 +2,9 @@
|
|||||||
/// When a source changes format (columns renamed, added, removed, type changed),
|
/// When a source changes format (columns renamed, added, removed, type changed),
|
||||||
/// the system detects the diff and can auto-map using AI or heuristic matching.
|
/// the system detects the diff and can auto-map using AI or heuristic matching.
|
||||||
|
|
||||||
#[allow(unused_imports)]
|
use arrow::datatypes::{DataType, SchemaRef};
|
||||||
use arrow::datatypes::{DataType, Schema, SchemaRef};
|
|
||||||
use serde::{Deserialize, Serialize};
|
use serde::{Deserialize, Serialize};
|
||||||
use std::collections::HashMap;
|
use std::collections::HashMap;
|
||||||
#[allow(unused_imports)]
|
|
||||||
use std::sync::Arc;
|
|
||||||
|
|
||||||
/// A detected change between two schema versions.
|
/// A detected change between two schema versions.
|
||||||
#[derive(Debug, Clone, Serialize, Deserialize)]
|
#[derive(Debug, Clone, Serialize, Deserialize)]
|
||||||
@ -225,7 +222,8 @@ fn find_similar_column<'a>(
|
|||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod tests {
|
mod tests {
|
||||||
use super::*;
|
use super::*;
|
||||||
use arrow::datatypes::Field;
|
use arrow::datatypes::{Field, Schema};
|
||||||
|
use std::sync::Arc;
|
||||||
|
|
||||||
fn schema(fields: Vec<(&str, DataType)>) -> SchemaRef {
|
fn schema(fields: Vec<(&str, DataType)>) -> SchemaRef {
|
||||||
Arc::new(Schema::new(
|
Arc::new(Schema::new(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user