跳转到内容
View in the app

A better way to browse. Learn more.

彼岸论坛

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
欢迎抵达彼岸 彼岸花开 此处谁在 -彼岸论坛

[程序员] 一个卡片多个报表如何处理, soloscan 为你解忧,一个运行在 jvm 中的指标表达式

发表于

制作报表,一般是一个卡片一个 Sql ,直接使用 mysql 一般情况就可以做到。

如果一个卡片有多个报表,也就是有多个 sql 语句,mysql 就有点吃不消了。

Soloscan https://github.com/hanzhihua-0725/soloscan, 可能是你的一种方案选择,它运行在 jvm 中,可一次运行几十个以上的表达式,相对与 sql soloscan 表达式更加简单,而且硬件资源占用不高(取决于处理的数据量)。

它的特点:

  • 运行在 JVM 中,不依赖数据引擎的计算能力。
  • 可一次计算多个指标表达式,不需要预计算。
  • 支持通用的聚合方法(Max 、Min 、Avg 、Sum 、Count),及聚合结果的再次计算。
  • 支持分组、过滤、union 等操作。
  • 分组支持计算字段。
  • 支持自定义普通函数、聚合函数。

Featured Replies

No posts to show

创建帐户或登录来提出意见

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.