简体   繁体   English

Apache Ignite 真的需要使用有问题且缺少某些功能的非常旧版本的 sqlline 吗?

[英]Does Apache Ignite really need to use the very old version of sqlline which has issues & missing certain features?

I see that Apache Ignite (and the GG editions for that matter) uses a very old version of sqlline which has issues & missing certain features.我看到 Apache Ignite(以及与此相关的 GG 版本)使用了一个非常旧的 sqlline 版本,它存在问题并且缺少某些功能。 The version used is 1.3.0 which is from 2017, whereas the latest version is 1.12.0 .使用的版本是 2017 年的1.3.0 ,而最新版本是1.12.0

The reason this comes up is because the old version being used in Ignite has certain issues & lacks certain features that are available in the newer versions.出现这种情况的原因是因为 Ignite 中使用的旧版本存在某些问题并且缺少新版本中可用的某些功能。 For example, sqlline's write to csv behavior (used for ignite cache export) prints each column value ONLY with a single quote and also records command begins with printing the line “Saving all output to …”.例如,sqlline 对 csv 的写入行为(用于点燃缓存导出)仅使用单引号打印每个列值,并且记录命令以打印“将所有 output 保存到…”行开头。 With the newer versions we have settings for these like !set csvQuoteCharacter '"' , !set silent true , etc.对于较新的版本,我们有这些设置,例如!set csvQuoteCharacter '"'!set silent true等。

Now, we tried replacing the older version of sqlline (along with jline) and brought up a server node and did some basic testing.现在,我们尝试替换旧版本的 sqlline(连同 jline)并启动一个服务器节点并进行了一些基本测试。 We did not see any issues.我们没有看到任何问题。

So the question is does Ignite really need to use the older version (and that something is broken that we haven't hit in our testing) or can the newer version be used & is just a question of planned updates.所以问题是,Ignite 真的需要使用旧版本(并且我们在测试中没有遇到的问题)还是可以使用新版本?这只是计划更新的问题。 If its the former please let me in on what could be broken & if its the latter do you folks know of any plans for this upgrade?如果是前者,请告诉我什么可能会被破坏,如果是后者,你们知道这次升级的任何计划吗?

Thanks谢谢

Ignite and GridGain work well with most JDBC clients, so I don't see why it wouldn't work with newer versions of sqlline. Ignite 和 GridGain 与大多数 JDBC 客户端配合良好,所以我不明白为什么它不能与较新版本的 sqlline 配合使用。 It looks like Ignite uses version 1.9 ( since Ignite 2.10 ).看起来 Ignite 使用的是 1.9 版(自 Ignite 2.10 起)。 I don't see any tickets to update to a newer version.我没有看到任何更新到较新版本的票。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM