1- use crate as scylla;
2- use crate :: deserialize:: DeserializeOwnedValue ;
3- use crate :: frame:: response:: result:: CqlValue ;
4- use crate :: frame:: value:: { Counter , CqlDate , CqlTime , CqlTimestamp } ;
5- use crate :: test_utils:: { create_new_session_builder, scylla_supports_tablets, setup_tracing} ;
6- use crate :: transport:: session:: Session ;
7- use crate :: utils:: test_utils:: unique_keyspace_name;
81use itertools:: Itertools ;
9- use scylla_cql:: frame:: value:: { CqlTimeuuid , CqlVarint } ;
10- use scylla_cql:: types:: serialize:: value:: SerializeValue ;
11- use scylla_macros:: { DeserializeValue , SerializeValue } ;
2+ use scylla:: frame:: response:: result:: CqlValue ;
3+ use scylla:: frame:: value:: { Counter , CqlDate , CqlTime , CqlTimestamp , CqlTimeuuid , CqlVarint } ;
4+ use scylla:: serialize:: value:: SerializeValue ;
5+ use scylla:: Session ;
6+ use scylla:: { DeserializeValue , SerializeValue } ;
127use std:: cmp:: PartialEq ;
138use std:: fmt:: Debug ;
149use std:: net:: { IpAddr , Ipv4Addr , Ipv6Addr } ;
1510use std:: str:: FromStr ;
1611
12+ use crate :: utils:: {
13+ create_new_session_builder, scylla_supports_tablets, setup_tracing, unique_keyspace_name,
14+ DeserializeOwnedValue ,
15+ } ;
16+
1717// Used to prepare a table for test
1818// Creates a new keyspace, without tablets if requested and the ScyllaDB instance supports them.
1919// Drops and creates table {table_name} (id int PRIMARY KEY, val {type_name})
@@ -1572,7 +1572,6 @@ async fn test_udt_after_schema_update() {
15721572 . unwrap ( ) ;
15731573
15741574 #[ derive( SerializeValue , DeserializeValue , Debug , PartialEq ) ]
1575- #[ scylla( crate = crate ) ]
15761575 struct UdtV1 {
15771576 first : i32 ,
15781577 second : bool ,
@@ -1796,7 +1795,6 @@ async fn test_udt_with_missing_field() {
17961795 }
17971796
17981797 #[ derive( SerializeValue ) ]
1799- #[ scylla( crate = crate ) ]
18001798 struct UdtV1 {
18011799 first : i32 ,
18021800 second : bool ,
@@ -1822,7 +1820,6 @@ async fn test_udt_with_missing_field() {
18221820 id += 1 ;
18231821
18241822 #[ derive( SerializeValue ) ]
1825- #[ scylla( crate = crate ) ]
18261823 struct UdtV2 {
18271824 first : i32 ,
18281825 second : bool ,
@@ -1850,7 +1847,6 @@ async fn test_udt_with_missing_field() {
18501847 id += 1 ;
18511848
18521849 #[ derive( SerializeValue ) ]
1853- #[ scylla( crate = crate ) ]
18541850 struct UdtV3 {
18551851 first : i32 ,
18561852 second : bool ,
@@ -1878,7 +1874,7 @@ async fn test_udt_with_missing_field() {
18781874 id += 1 ;
18791875
18801876 #[ derive( SerializeValue ) ]
1881- #[ scylla( crate = crate , flavor= "enforce_order" ) ]
1877+ #[ scylla( flavor = "enforce_order" ) ]
18821878 struct UdtV4 {
18831879 first : i32 ,
18841880 second : bool ,
0 commit comments