This snippet works for me:

@Test
public void pg() throws SqlParseException {
  String sql = "select count(distinct a_column) from some_table";
  SqlParser.create(sql).parseQuery();
}


On Mon, Apr 1, 2019 at 8:30 PM [email protected] <[email protected]>
wrote:

> hello,
>
> The problem is about use [count(distinct(ID))],distinct aggregation
> notsupported. Does the community  have a plan  to solve the problem,or have
> a temporary solution ?
>
>
> thank you

Reply via email to