arithmetic_optimizer failed: Invalid argument: The graph couldn't be sorted in topological order.
时间: 2023-02-24 13:49:54 浏览: 106
这个错误信息表明你的图无法按照拓扑顺序进行排序。拓扑顺序是指图中节点的有向边的顺序,每个节点都要在所有入边完成后才能开始计算。这个错误通常是因为图中存在环,因此无法排序。请检查图的设计并修复图中的环。
相关问题
FATAL: `thread_run' function failed: ./tpcc_run.lua:115: attempt to perform arithmetic on local 'd_next_o_id' (a nil value) (last message repeated 2 times) FATAL: `thread_run' function failed: ./tpcc_run.lua:353: attempt to perform arithmetic on a nil value ALERT: attempt to fetch row from an empty result set FATAL: `thread_run' function failed: ./tpcc_run.lua:325: attempt to index global 'row' (a nil value) FATAL: `thread_run' function failed: ./tpcc_run.lua:115: attempt to perform arithmetic on local 'd_next_o_id' (a nil value) FATAL: `thread_run' function failed: ./tpcc_run.lua:353: attempt to perform arithmetic on a nil value ALERT: attempt to fetch row from an empty result set FATAL: `thread_run' function failed: ./tpcc_run.lua:353: attempt to perform arithmetic on a nil value FATAL: `thread_run' function failed: ./tpcc_run.lua:325: attempt to index global 'row' (a nil value) ALERT: attempt to fetch row from an empty result set FATAL: `thread_run' function failed: ./tpcc_run.lua:325: attempt to index global 'row' (a nil value) FATAL: `thread_run' function failed: ./tpcc_run.lua:353: attempt to perform arithmetic on a nil value ALERT: attempt to fetch row from an empty result set FATAL: `thread_run' function failed: ./tpcc_run.lua:325: attempt to index global 'row' (a nil value)怎么解决
这段错误信息看起来是来自一个名为 tpcc_run.lua 的 Lua 脚本。其中的错误包括尝试在一个空值上进行算术运算,尝试从一个空结果集中获取行等等。要解决这些错误,你需要检查代码并确定哪些变量或值为空或未定义,然后进行必要的检查和处理。这可能需要对代码进行逐行分析和调试,以确定问题的确切原因。建议你仔细检查代码并使用调试器或其他工具来帮助你找到问题所在。
FATAL: `thread_run' function failed: ./tpcc_run.lua:353: attempt to perform arithmetic on a nil value怎么解决
这个错误提示表明在运行 `tpcc_run.lua` 文件时,尝试对一个 `nil` 值执行算术运算,导致程序崩溃。要解决这个问题,需要检查代码中涉及到的变量和运算,看看哪个变量可能为 `nil`,然后加上判断避免出现这种情况。在具体实现中,可以使用 `if` 语句对变量进行检查,或者使用 `assert` 函数确保变量不为 `nil`。此外,还可以通过打印调试信息等方法,定位到具体的问题所在,从而解决此错误。
相关推荐
![PDF](https://img-home.csdnimg.cn/images/20210720083646.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)