[
https://issues.apache.org/jira/browse/ASTERIXDB-2486?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Till updated ASTERIXDB-2486:
----------------------------
Affects Version/s: 0.9.4
> IntroduceDynamicTypeCastForExternalFunctionRule may fail into infinite loop
> when input is ANY
> ---------------------------------------------------------------------------------------------
>
> Key: ASTERIXDB-2486
> URL: https://issues.apache.org/jira/browse/ASTERIXDB-2486
> Project: Apache AsterixDB
> Issue Type: Bug
> Affects Versions: 0.9.4
> Reporter: Xikui Wang
> Priority: Major
>
> use test;
> drop dataset EmpDataset if exists;
> drop feed UserFeed if exists;
> drop type InputRecordType if exists;
> drop type DetectResultType if exists;
> create type InputRecordType as closed {
> id:int64,
> fname:string,
> lname:string,
> age:int64,
> dept:string
> };
> create type DetectResultType as open{
> id:int64,
> sensitive: boolean
> };
> create dataset EmpDataset(InputRecordType) primary key id;
> create feed UserFeed with {
> "adapter-name" : "socket_adapter",
> "sockets" : "127.0.0.1:10001",
> "address-type" : "IP",
> "type-name" : "InputRecordType",
> "format" : "adm",
> "upsert-feed" : "true"
> };
> connect feed UserFeed to dataset EmpDataset WHERE
> testlib#fnameDetector(t).sensitive = TRUE;
> start feed UserFeed;
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)