Catholics are free to understand the story of Jonah and the whale as literal history, or as didactic fiction.
In Catholicism and Fundamentalism, Karl Keating states the following:
“The Catholic Church is silent on the proper interpretation of many biblical passages, readers being allowed to accept one of several understandings. Take, as an example, Jonah’s escapade at sea, which readers often find disturbing. Ronald Knox said “no defender of the sense of Scripture ever pretended, surely, that this was a natural event. If it happened, it was certainly a miracle; and not to my mind a more startling miracle than the raising of Lazarus, in which I take off the story of Jonah is the element of the grotesque which is present in it.” (Ronald Knox and Arnold Lunn, Difficulties (London: Eyre& Spottiswoode, 1951), 109.)
The most common interpretation nowadays, and one that is held by indubitably orthodox exegetes, is that the story of the prophet being swallowed and then disgorged by a “great fish” is merely didactic fiction, a grand tale told to establish a religious point. Catholics are perfectly free to take this or a more literal view…”
“Strictly literal interpretations of what happened to Jonah actually come in two forms. One relies on the fact that people apparently have been swallowed by whales and lived to talk about it. In 1891 a seamen, James Bartley, from a ship named the Star of the East, was found missing after an eighty-foot sperm shale had been caught. He was presumed drowned. The next day, when the crew cut up the whale, Bartley was discovered alive inside. If Jonah’s three days in the whale were counted like Christ’s three days in the tomb, after th4e Semitic fashion—that is, parts of three distinct days, but perhaps only slightly more than twenty-four hours total—then it is possible that Jonah could have been coughed up by that great fish just as his story says. This would be a purely natural explanation of the episode.
The other literal interpretation is that Jonah indeed underwent what the story, read as straight history, says he did, but survived only because of a positive miracle, and several different sorts of miracles have been suggested, such as suspended animation on Jonah’s part or a fish with a remarkable large air supply and decidedly mild gastric juices.”
(Catholicism and Fundamentalism, chapter 9, pgs 129-130)
Free From All Error By Father William Most
Catholicism and Fundamentalism By Karl Keating