From 833a6eced393cf706e62ad74c870f7d69b3ee24a Mon Sep 17 00:00:00 2001 From: SIMRAN MAKHIJA Date: Wed, 28 Feb 2024 11:55:47 -0500 Subject: [PATCH] cleanup main --- src/main.rs | 36 +----------------------------------- 1 file changed, 1 insertion(+), 35 deletions(-) diff --git a/src/main.rs b/src/main.rs index 5858400..2fe40a1 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,37 +1,3 @@ -mod dto; - -use dto::namespace_data::NamespaceData; -use dto::operator_statistics::OperatorStatistics; -use dto::table_data::TableData; - fn main() { - // Create instances of the structs - let namespace = NamespaceData { - name: "MyNamespace".to_string(), - properties: serde_json::json!({"key": "value"}), - }; - - let table = TableData { - name: "MyTable".to_string(), - num_columns: 5, - read_properties: serde_json::json!({"key": "value"}), - write_properties: serde_json::json!({"key": "value"}), - file_urls: vec!["url1".to_string(), "url2".to_string()], - columns: vec![vec!["column1".to_string(), "column2".to_string()]], - aggregates: serde_json::json!({"key": "value"}), - value_range: (1, 100), - is_strong_key: true, - is_weak_key: false, - primary_key_col_name: "id".to_string(), - }; - - let operator_stats = OperatorStatistics { - operator_string: "MyOperator".to_string(), - cardinality_prev_result: 10, - }; - - // Use the structs as required - println!("Namespace: {:?}", namespace); - println!("Table: {:?}", table); - println!("Operator Stats: {:?}", operator_stats); + println!("hello world!"); }