RedisLabs / spark-redis

A connector for Spark that allows reading and writing to/from Redis cluster
BSD 3-Clause "New" or "Revised" License
936 stars 367 forks source link

seem the limit do not work on show() #370

Closed yuanlin-work closed 1 year ago

yuanlin-work commented 1 year ago

this is my code: ` df.limit(3);

df.show();

`

and got all data printed on the console but change it like this work fine: df.show(3) Is that what it is? tks

and the depencies is:

org.apache.commons commons-pool2 2.0
    <dependency>
        <groupId>redis.clients</groupId>
        <artifactId>jedis</artifactId>
        <version>3.2.0</version>
    </dependency>