Skip to content

Commit 2ba6ed5

Browse files
committed
Linter
1 parent ba66b83 commit 2ba6ed5

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

packages/cubejs-backend-native/src/node_export.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
use cubesql::compile::parser::parse_sql_to_statement;
22
use cubesql::compile::{convert_statement_to_cube_query, get_df_batches};
33
use cubesql::config::processing_loop::ShutdownMode;
4-
use cubesql::transport::{SpanId, TransportService};
5-
use cubesql::sql::dataframe::{Column, arrow_to_column_type};
4+
use cubesql::sql::dataframe::{arrow_to_column_type, Column};
65
use cubesql::sql::ColumnFlags;
6+
use cubesql::transport::{SpanId, TransportService};
77
use futures::StreamExt;
88

99
use serde_json::Map;
@@ -201,7 +201,7 @@ async fn write_jsonl_message(
201201
value: serde_json::Value,
202202
) -> Result<bool, CubeError> {
203203
let message = format!("{}{}", serde_json::to_string(&value)?, CHUNK_DELIM);
204-
204+
205205
call_js_fn(
206206
channel,
207207
write_fn,
@@ -300,12 +300,12 @@ async fn handle_sql_query(
300300
ColumnFlags::empty(),
301301
));
302302
}
303-
303+
304304
// Send schema first
305305
let columns_json = serde_json::to_value(&columns)?;
306306
let mut schema_response = Map::new();
307307
schema_response.insert("schema".into(), columns_json);
308-
308+
309309
write_jsonl_message(
310310
channel.clone(),
311311
stream_methods.write.clone(),
@@ -341,7 +341,7 @@ async fn handle_sql_query(
341341
if !has_data {
342342
let mut rows = Map::new();
343343
rows.insert("data".into(), serde_json::Value::Array(vec![]));
344-
344+
345345
write_jsonl_message(
346346
channel.clone(),
347347
stream_methods.write.clone(),

0 commit comments

Comments
 (0)