Skip to content

Commit de1d1bf

Browse files
author
Liang Zhao
committed
alter state table
1 parent ca4cc75 commit de1d1bf

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/stream/src/executor/now.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@ use risingwave_common::row::Row;
2222
use risingwave_common::types::{DataType, NaiveDateTimeWrapper, ScalarImpl};
2323
use risingwave_common::util::chunk_coalesce::DataChunkBuilder;
2424
use risingwave_common::util::epoch::Epoch;
25-
use risingwave_storage::table::streaming_table::state_table::StateTable;
2625
use risingwave_storage::StateStore;
2726
use tokio::sync::mpsc::UnboundedReceiver;
2827

2928
use super::{
3029
Barrier, BoxedMessageStream, Executor, Message, PkIndices, PkIndicesRef, StreamExecutorError,
3130
Watermark,
3231
};
32+
use crate::common::table::state_table::StateTable;
3333

3434
pub struct NowExecutor<S: StateStore> {
3535
/// Receiver of barrier channel.
@@ -173,10 +173,10 @@ mod tests {
173173
use risingwave_common::types::{DataType, NaiveDateTimeWrapper, ScalarImpl};
174174
use risingwave_common::util::sort_util::OrderType;
175175
use risingwave_storage::memory::MemoryStateStore;
176-
use risingwave_storage::table::streaming_table::state_table::StateTable;
177176
use tokio::sync::mpsc::{unbounded_channel, UnboundedSender};
178177

179178
use super::NowExecutor;
179+
use crate::common::table::state_table::StateTable;
180180
use crate::executor::{Barrier, BoxedMessageStream, Executor, Message, PkIndices, Watermark};
181181

182182
#[tokio::test]

src/stream/src/from_proto/now.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515
use risingwave_common::try_match_expand;
1616
use risingwave_pb::stream_plan::stream_node::NodeBody;
1717
use risingwave_pb::stream_plan::StreamNode;
18-
use risingwave_storage::table::streaming_table::state_table::StateTable;
1918
use risingwave_storage::StateStore;
2019
use tokio::sync::mpsc::unbounded_channel;
2120

2221
use super::ExecutorBuilder;
22+
use crate::common::table::state_table::StateTable;
2323
use crate::error::StreamResult;
2424
use crate::executor::{BoxedExecutor, NowExecutor};
2525
use crate::task::{ExecutorParams, LocalStreamManagerCore};

0 commit comments

Comments
 (0)