jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Esper
  • ESPER-516

Insert into stream defined by a schema created as a map schema with property type being an event type not compiling

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 4.0 - requires JDK6
  • Fix Version/s: 4.0 - requires JDK6
  • Component/s: Core
  • Labels:
    None

Description

For example:
epService.getEPAdministrator().createEPL("create schema MyEvent(myId int)");
epService.getEPAdministrator().createEPL("create schema CompositeEvent(c1 MyEvent, c2 MyEvent, rule string)");
epService.getEPAdministrator().createEPL("insert into MyStream select c, 'additionalValue' as value from MyEvent c");
epService.getEPAdministrator().createEPL("insert into CompositeEvent select e1.c as c1, e2.c as c2, '4' as rule " +
"from pattern [e1=MyStream -> e2=MyStream]");

The last statement "insert into CompositeEvent" fails to allow the insert determining that the inserted event is not compatible.

  • Options
    • Sort By Name
    • Sort By Date
    • Ascending
    • Descending
    • Download All

Attachments

  1. Hide
    Java Archive File
    esper-4.0.0-JIRA516.jar
    28/Oct/10 10:16 PM
    57 kB
    Thomas Bernhardt
    1. File
      com/espertech/.../map/MapEventType.class 33 kB
    2. File
      com/espertech/.../EventAdapterService.class 6 kB
    3. File
      com/.../SelectExprInsertEventBean$2.class 2 kB
    4. File
      com/espertech/.../CurrentTimeEvent.class 0.7 kB
    5. File
      com/espertech/.../time/TimerEvent.class 0.3 kB
    6. File
      com/.../TimerControlEvent$ClockType.class 1 kB
    7. File
      com/.../ConfigurationEventTypeXMLDOM.class 7 kB
    8. File
      com/.../SelectExprInsertEventBean$3.class 2 kB
    9. File
      com/espertech/.../TimerControlEvent.class 0.8 kB
    10. File
      com/.../Configuration$PropertyResolutionStyle.class 1 kB
    11. File
      com/espertech/.../NaturalEventBean.class 2 kB
    12. File
      com/.../SelectExprInsertEventBean.class 10 kB
    13. File
      com/.../ConfigurationOperationsImpl.class 16 kB
    14. File
      com/.../EventAdapterServiceImpl.class 34 kB
    15. File
      com/espertech/.../client/Configuration.class 24 kB
    16. File
      com/.../SelectExprInsertEventBean$1.class 2 kB
    17. File
      com/.../ConfigurationEventTypeXMLDOM$XPathPropertyDesc.class 2 kB
    18. File
      com/.../ConfigurationOperations.class 2 kB
    Download Zip
    Show
    Java Archive File
    esper-4.0.0-JIRA516.jar
    28/Oct/10 10:16 PM
    57 kB
    Thomas Bernhardt

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Thomas Bernhardt added a comment - 28/Oct/10 9:59 PM - edited

Workaround: don't define the target schema at all or define as a class.

Show
Thomas Bernhardt added a comment - 28/Oct/10 9:59 PM - edited Workaround: don't define the target schema at all or define as a class.
Hide
Permalink
Thomas Bernhardt added a comment - 28/Oct/10 10:16 PM

We are making a cumulative patch available as attached.

The cumulative patch addresses this issue as well as below issues:
ESPER-511 Make CurrentTimeEvent and TimerControlEvent Serializable
ESPER-512 EventBean getUnderlying method when both subscriber and listener are used returns Class and not the underlying object
ESPER-514 Allow XML event type update at runtime via ConfigurationOperations (QIQ-175889)

Show
Thomas Bernhardt added a comment - 28/Oct/10 10:16 PM We are making a cumulative patch available as attached. The cumulative patch addresses this issue as well as below issues: ESPER-511 Make CurrentTimeEvent and TimerControlEvent Serializable ESPER-512 EventBean getUnderlying method when both subscriber and listener are used returns Class and not the underlying object ESPER-514 Allow XML event type update at runtime via ConfigurationOperations (QIQ-175889)

People

  • Assignee:
    Unassigned
    Reporter:
    Thomas Bernhardt
Vote (0)
Watch (0)

Dates

  • Created:
    28/Oct/10 9:58 PM
    Updated:
    19/Jan/11 7:32 PM
    Resolved:
    02/Dec/10 11:41 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.