use of com.alibaba.druid.sql.dialect.postgresql.ast.expr.PGLineSegmentsExpr in project druid by alibaba.
the class LineSegmentsTest method test_timestamp.
public void test_timestamp() throws Exception {
String sql = "lseg '((-1,0),(1,0))'";
PGExprParser parser = new PGExprParser(sql);
PGLineSegmentsExpr expr = (PGLineSegmentsExpr) parser.expr();
Assert.assertEquals("lseg '((-1,0),(1,0))'", expr.toString());
}
Aggregations