Hey all,

I am not very proficient with Scala and have some questions regarding the
Scala Table API:

The logical queries in the Java API are all String-based, e.g.

table.groupBy("word")

In the Scala API, this works as well, but what's further possible is this:

expr.groupBy('word)

For comparisions you use something like `a === `b. Note that the ' is a
Scala symbol.

- How common is this kind of notation for Scala users?
- Are both types of expressions equivalent or can you do more with the
special Scala syntax Table API?

I am asking, because I was wondering whether we should stick to the
String-based notation in the docs and have the special syntax as an
optional thing. There is no reason for this, if this is common in the Scala
world though. :-)

– Ufuk

Reply via email to