use of com.facebook.presto.operator.scalar.FunctionAssertions in project presto by prestodb.
the class TestTimeWithTimeZone method setUp.
@BeforeClass
public void setUp() {
session = testSessionBuilder().setTimeZoneKey(getTimeZoneKey("+06:09")).build();
functionAssertions = new FunctionAssertions(session);
}
use of com.facebook.presto.operator.scalar.FunctionAssertions in project presto by prestodb.
the class TestTimestampWithTimeZone method setUp.
@BeforeClass
public void setUp() {
session = testSessionBuilder().setTimeZoneKey(TIME_ZONE_KEY).build();
functionAssertions = new FunctionAssertions(session);
}
use of com.facebook.presto.operator.scalar.FunctionAssertions in project presto by prestodb.
the class TestExpressionCompiler method setupClass.
@BeforeSuite
public void setupClass() {
Logging.initialize();
if (PARALLEL) {
executor = listeningDecorator(newFixedThreadPool(getRuntime().availableProcessors() * 2, daemonThreadsNamed("completer-%s")));
} else {
executor = newDirectExecutorService();
}
functionAssertions = new FunctionAssertions();
}
use of com.facebook.presto.operator.scalar.FunctionAssertions in project presto by prestodb.
the class TestDate method setUp.
@BeforeClass
public void setUp() {
Session session = testSessionBuilder().setTimeZoneKey(TIME_ZONE_KEY).build();
functionAssertions = new FunctionAssertions(session);
}
use of com.facebook.presto.operator.scalar.FunctionAssertions in project presto by prestodb.
the class TestDateTimeOperators method setUp.
@BeforeClass
public void setUp() {
Session session = testSessionBuilder().setTimeZoneKey(TIME_ZONE_KEY).build();
functionAssertions = new FunctionAssertions(session);
}
Aggregations