[Feature][public] Result set fields support truncation

オープン
#5,298 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
java
領域
backend, data

調査の方向性

issue ではファイルもテストも指定されていないため、まずスクリプトクエリの結果セット表示パスと、Excel のダウンロード、アップロード、エクスポートのエントリーポイントを追跡します。10,000 文字と 32,767 文字の制限での動作を比較し、次に、切り捨ての選択とプロンプトによって影響を受けるフィールドが特定され、サービスの異常を引き起こさないことを確認します。

索引モデルが issue の本文から書いたものです。

説明

feature
Search before asking
  • I had searched in the issues and found no similar feature requirement.
Problem Description
  1. If a field in the script query result set exceeds 10000 characters, it cannot be displayed properly
  2. Download/upload Excel script, if a field exceeds 32767 characters, it will cause service abnormalities
Description
  1. If a field in the script query result set exceeds 10000 characters, it cannot be displayed properly
  2. Download/upload Excel script, if a field exceeds 32767 characters, it will cause service abnormalities
Use case

none

Solutions
  1. When certain fields are over 10000 characters long, the user should be prompted which fields are over 10000 characters long and allowed to choose whether to display the first 10000 characters. If so, extract the first 10000 characters and display the result set normally
  2. For the two functions of "download" and "export": the first 32767 characters need to be truncated, and special prompts should be given to the user which fields have been truncated
Anything else

none

Are you willing to submit a PR?
  • Yes I am willing to submit a PR!
主要言語
Java
スター
3.4k
フォーク
1.2k
平均マージ
23分
マージ済み PR(30日)
1

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

apache/linkis のほかの issue

apache/linkis の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。