検索

Question
· Feb 6

Sorting, remove duplicate and count of Json file

My usecase is sorting and removing duplicates and getting count from a file that has json messages as a individual rows.

I am currently planning to use pandas for this purpose as its really fast. Below are the steps i am following

1) call a python function (called function) from IRIS classmethod(calling function)

2) the call python function will read the json file in a dataframe

3) perform sorting, dup removal, count in the dataframe

4) convert the dataframe into iris stream

5) return back the stream to iris calling function class method

When i try to write the stream into termial its coming as a %SYS.python object rather a iris stream object.

Below is what my questions are

1) why is the return a %Sys.python rather a iris stream object

2) is there a better way to implement sorting, dup removals n count of record, in a file within iris.

Thanks!

6 Comments
Discussion (6)2
Log in or sign up to continue
Discussion (9)1
Log in or sign up to continue
Question
· Feb 6

Error - SFTP connection with ssh key on a server that excludes the rsa-ssh algorithm

 

Hi,

A SFTP server on which we connect has increased its security level by disabling the use of the ssh-rsa algorithm
Since then, SFTP connections with ssh keys are no longer made through Intersytems but through tools such as FileZila and Putty. Looking at the Logs I see that the generated ssh key of type RSA supports other modern algorithms such as rsa-sha2-256 / rsa-sha2-512 ... I wanted to know if the Intersystems SFTP client supports modern algorithms? Or is there an ssh configuration that excludes rsa-sha2 algorithms that will need to be disabled? Here's a section of the error we get in Intersytems ...

ERREUR <Ens>ErrOutConnectFailed: Échec de la connexion SFTP .....'
avec l'erreur ERREUR #7510: Erreur SSH '-18' : SSH Error [80101012]: Username/PublicKey combination invalid [80101012] at F:\2024-1-0-263-0\dev\modules\CacheSSH\Session.cpp:498,0 (alert request ID=364130)

Thanks in advance for your help

1 Comment
Discussion (1)2
Log in or sign up to continue
Article
· Feb 5 3m read

第十五章 K - L 开头的术语

第十五章 K - L 开头的术语

日志记录 (journaling)

系统

一种功能,系统管理员可以选择启用,导致 IRIS 在日志文件中记录所有或选定全局的更改。如果发生系统故障,可以将这些更改向前滚动。也就是说,在恢复期间,可以将整个事务重新应用到数据库。另请参见写入镜像日志记录 (Write Image Journaling)。

以 K 开头的术语

密钥分发中心 (KDC)

系统

Discussion (0)1
Log in or sign up to continue
Question
· Feb 5

WSGI/Flask app with iris container complains about flask not installed

Hello,

When setting up a new web app in iris (iris is in a container) iris complains that a WSGI framework is not installed. I have installed python into the container as well as both flask and django via the python virtual environment (see second screenshot) and the python language server is running

Is this the wrong way to install flask? How do I get the container version to recoginize that flask is installed?

2 Comments
Discussion (2)1
Log in or sign up to continue