Giter Site home page Giter Site logo

执行函数报错 about sia-task HOT 3 CLOSED

siaorg avatar siaorg commented on August 22, 2024
执行函数报错

from sia-task.

Comments (3)

Li-JH avatar Li-JH commented on August 22, 2024

可以提供一下mysql版本和报错详细信息吗,看错误提示是语法错误,或者也可以将sql语句放到mysql可视化工具中运行下看看是哪个地方语法错误。

from sia-task.

kenneth-bro avatar kenneth-bro commented on August 22, 2024

报错的问题是 xml里面的。

set @success := 0;
set @fail := 0;
select DATE_FORMAT(last_time,'%Y-%m-%d %H:%i:%s') as times,
max(@success := @success + job_finished_count) as successJobTotal,
max(@fail := @fail + job_exception_count) as failJobTotal
from
(select
job_exception_count, job_finished_count, last_time
from skyworld_portal_stat
where last_time >= str_to_date(#{startTime,jdbcType=VARCHAR},'%Y-%m-%d %H:%i:%s')
and last_time <= str_to_date(#{endTime,jdbcType=VARCHAR},'%Y-%m-%d %H:%i:%s')

and scheduler = #{scheduler,jdbcType=VARCHAR}

order by last_time) t
group by last_time

这种语句 @Li-JH

from sia-task.

Li-JH avatar Li-JH commented on August 22, 2024

提供一下你的mysql版本号和日志报错的信息,就是你最开始贴出来的报错信息,把整个报错信息都提供下吧。你在我们的开源群吗,可以在群里交流下。

from sia-task.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.