Python库Deltalake“崩溃”但是没有错误的消息我如何找出问题

发布于 2025-02-12 21:49:26 字数 372 浏览 1 评论 0原文

我有一个不运行的代码,但我不知道为什么。

它在库中的某个地方失败了,但似乎没有丢弃错误,所以我不知道出了什么问题:

伪代码:

print('test')
try:
    df = DeltaTable('mydata/').to_pandas()
except:
    print('test2')
print('test3')

所以我希望能得到testtest3作为输出或testtest2,但我只得到test

是否有其他方法可以获取/捕获/捕获任何问题图书馆?

I have a piece of code that does not run but I do not know why.

It fails somewhere in the library but it seems there is no error thrown so I do not know what goes wrong:

the pseudo code:

print('test')
try:
    df = DeltaTable('mydata/').to_pandas()
except:
    print('test2')
print('test3')

So I would expect to get either test and test3 as an output or test and test2 but I am only getting test

Is there any other way to get/catch whatever is going wrong in the library?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文